-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
Description
Current behavior:
cypress run fails with the following error on Chrome:
Cypress failed to make a connection to the Chrome DevTools Protocol after retrying for 50 seconds.
This usually indicates there was a problem opening the Chrome browser.
The CDP port requested was 26359.
Error details:
Error: could not find CRI target
at lazyAssLogic (C:\Users\user\AppData\Local\Cypress\Cache\4.6.0\Cypress\resources\app\packages\server\node_modules\lazy-ass\index.js:110:14)
at Object.lazyAss (C:\Users\user\AppData\Local\Cypress\Cache\4.6.0\Cypress\resources\app\packages\server\node_modules\lazy-ass\index.js:115:28)
at findStartPage (C:\Users\user\AppData\Local\Cypress\Cache\4.6.0\Cypress\resources\app\packages\server\lib\browsers\protocol.js:56:23)
Full log is also attached.
Note that this doesn't appear to be 100% consistent. With the below example I am seeing this maybe 25% of the time.
We had previously observed this before, and upgraded to both 3.8.3 as a result of: #6053
Then more recently, upgraded to 4.6.0 as a result of: #6518
Still observing on 4.6.0 as below though
Desired behavior:
Execution should not fail in this manner.
Test code to reproduce
- Clone https://github.com/stevejefferies/cypress-test-tiny
- Run
cypress:runas defined in package.json e.g.npm run cypress:run
Versions
Cypress: 4.6.0
Browser: Chrome 83
OS: Windows 10
Debug Log
pietk4, mikirobles, DiogoGarrido, LLeirs95, clarmso and 3 more