Closed
Description
Current behavior:
Error: could not find CRI target when running on chrome
Note : Tests run successfully in electron and firefox
Desired behavior:
Tests should run in Chome browser
Test code to reproduce
Run Integration/example tests using command
node_modules\.bin\cypress run --browser chrome
could not find CRI target
Error: could not find CRI target
at lazyAssLogic (C:\Users\nidhi\AppData\Local\Cypress\Cache\4.0.2\Cypress\resources\app\packages\server\node_modules\lazy-ass\index.js:110:14)
at lazyAss (C:\Users\nidhi\AppData\Local\Cypress\Cache\4.0.2\Cypress\resources\app\packages\server\node_modules\lazy-ass\index.js:115:28)
at findStartPage (C:\Users\nidhi\AppData\Local\Cypress\Cache\4.0.2\Cypress\resources\app\packages\server\lib\browsers\protocol.js:55:3)
at processTicksAndRejections (internal/process/task_queues.js:85:5)
Versions
Cypress: 4.0.2
Browser: Chrome 80
Windows 10
Activity
jennifer-shehane commentedon Feb 24, 2020
Could you run Cypress in debug mode mode and print the entire set of logs here?
Specifically run:
Snidhi-92 commentedon Feb 24, 2020
jennifer-shehane commentedon Feb 25, 2020
Sorry, I don't see the logs I'm looking for here, it doesn't look like the DEBUG logs are taking effect. Can you actually try the below:
Snidhi-92 commentedon Feb 25, 2020
Same error again
jennifer-shehane commentedon Feb 26, 2020
@Snidhi-92 Yes, my previous comment and requests will not fix your issue.
The DEBUG logs just give us more information about your run to help fix your issue, but they are not being properly set so we are not seeing the logs. The logs should look something like below if they are set properly with new logs coming from
cypress:cli
etc:mobileappd commentedon Mar 10, 2020
Im experiencing the same issues. See attached logs.
cyrpress_chrome_crash_logs.txt
jennifer-shehane commentedon Mar 11, 2020
Relevant logs from @mobileappd logs. Basically continues to log it's failure to connect over and over again until it gets to
retryIndex: 19
Then it starts to log this error over and over, while still throwing errs to connect to CRI target occasionally until it gets to
retryIndex: 32
, and then thedelay
on the retry isundefined
at this point for some reason.cypress:server:protocol error finding CRI target, maybe retrying { delay: undefined,
Then a bunch of these errors:
Snidhi-92 commentedon Mar 11, 2020
@jennifer-shehane Do we know what is the cause of this issue and how to resolve this?
jennifer-shehane commentedon Apr 10, 2020
No, we haven't been able to reproduce it reliably on our side.
Handle more CDP connection errors
18 remaining items