-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression: Cypress 9.1.0 throws when code coverage is enabled, failing every test #19070
Comments
note: also fails with |
also fails with latest |
Shouldn't this be reported here: https://github.com/cypress-io/code-coverage/issues? |
Cypress broke backwards compatibility with the code coverage extension and didn't mention it in the release notes. Also, it wasn't a breaking version (10.x), so is most likely a regression. Otherwise I would have posted it there. Again, Cypress |
Maybe this is also fixed by #19239? There weren't many changes in 9.1 that could have caused this. |
Please try out 9.1.1 and see if this issue is fixed. We were able to track down many of the bugs that the patch fix addresses, but didn’t have time to verify everything reported. Let us know! |
I'll try on Monday, thanks so much for the response! |
9.1.1 fixed this issue. |
Current behavior
every test fails with a crash
Desired behavior
Test code to reproduce
upgrade cypress to 9.1.0 with a project that has followed instructions for enabling instrumenting and code coverage. Failure is in both
cypress open
andcypress open-ct
Cypress Version
9.1.0
Other
Tested with Cypress 8.3.1 -> 9.1.0. Every version of Cypress except 9.1.0 successfully runs tests with code coverage enabled, version 9.1.0 fails
cypress.json:
code coverage-related plugins code (it's all standard stuff):
plugins/index.js
support/index.js
The text was updated successfully, but these errors were encountered: