Current behavior
If Cypress is started with npx cypress open --e2e --browser chrome and Cypress app data has been cleared according to Troubleshooting > Clear App Data, then Cypress fails to connect to Chrome.
A second attempt (without clearing app data) succeeds.
Desired behavior
Cypress should work on the first attempt after app data has been cleared.
Test code to reproduce
git clone --branch 34868-single-spec-cy-16 https://github.com/MikeMcC399/cypress-test-tiny
cd cypress-test-tiny
npm ci
rm -rf ~/.config/Cypress/cy/*
npx cypress open --e2e --browser chrome
Select "Continue"
Cypress Version
16.1.0
Debug Logs
cypress:server:browsers:cri-client connection to target 8D94800452D96DF7CD1AC91FACCB9F8B is terminated; rejecting Runtime.evaluate instead of enqueuing +8ms
Current behavior
If Cypress is started with
npx cypress open --e2e --browser chromeand Cypress app data has been cleared according to Troubleshooting > Clear App Data, then Cypress fails to connect to Chrome.A second attempt (without clearing app data) succeeds.
Desired behavior
Cypress should work on the first attempt after app data has been cleared.
Test code to reproduce
Select "Continue"
Cypress Version
16.1.0Debug Logs
cypress:server:browsers:cri-client connection to target 8D94800452D96DF7CD1AC91FACCB9F8B is terminated; rejecting Runtime.evaluate instead of enqueuing +8ms