-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Current behavior
Can't reproduce this locally - but intermittently when running specs via circleci (so far 50% of the time) - one of the specs (never the same one), spins causing circleci to timeout. When I look at the run in the Cypress dashboard it shows all the rest of the specs have passed except for that one and it's just constantly saying it is running - but shows no test results. https://dashboard.cypress.io/projects/zb7814/runs/1686/overview is an example. When I rerun the tests they all pass again so it looks like there's an issue with the cypress runner. This just started happening when we upgraded to 8 - specifically 8.2
The error from circleci is:
ERR_TIMED_OUT (-7) loading '<specUrl>'
Error: ERR_TIMED_OUT (-7) loading '<specUrl>
at rejectAndCleanup (electron/js2c/browser_init.js:217:1457)
at Object.failListener (electron/js2c/browser_init.js:217:1670)
at Object.emit (events.js:315:20)
After saying it was still running for several hours on the Cypress dashboard - it finally stopped and showed this error message:
"The run started, but never completed. This can happen when the run is canceled from CI or when Cypress crashes during running tests.
Check your CircleCI #557d91f7-1bed-4c21-9f3c-9a4850bc64ad logs for more information. Archive this run to remove it from the runs list and analytics."
Desired behavior
Cypress not to get hung up
Test code to reproduce
Since it fails on a different spec each time, it doesn't seem to be related to actual test code
Cypress Version
8.2.0
Other
No response