Cypress hangs during `cypress open` and `cypress run` after opening browser (4.6.0)
See original GitHub issueCurrent behavior:
Running tests hangs.
With cypress run
, it times out having never begun the first test.
With cypress open
, the Test Runner browser opens, but the test doesn’t start running for 30+ minutes. It appears blank.
The culprit seems to be this line. Surrounding it with console.time/timeEnd
results in it taking over 30 minutes to run.
Test code to reproduce
This can be seen in the Cypress Dashboard internal tests. Still trying to narrow it down to an easily reproducible (and publicly-postable) case.
Versions
Cypress 4.6.0
Current Workaround
Downgrade to Cypress 4.5.0.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Troubleshooting | Cypress Documentation
Open Cypress via cypress open · Go to Developer Tools -> View App Data · This will take you to the directory in...
Read more >cypress-io/cypress - Gitter
Anyone running cypress headless using kubernetes ? In my case its picking up 5 feature files to run and after running the first...
Read more >End-To-End Testing with Cypress - Learn With Jason
So after a while I joined other startups and when I started using Cypress ... Cypress open is the first time you want...
Read more >cypress: Versions - Openbase
Upgraded the Chromium browser version used during cypress run and when ... The experience when opening a new project via cypress open has...
Read more >@cypress/request | Yarn - Package Manager
Cypress's fork of a simplified HTTP request client. ... @cypress/request - Simplified HTTP client ... This is a fork of request for use...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@chrisbreiding is it catastrophic backtracking from the regex? I don’t think you need
regexCommentStyle1
according to the spec:https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit
Released in
4.7.0
.This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v4.7.0, please open a new issue.