We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Uncaught rejections thrown in tests that use done will not fail the test when no cy chain is active:
Lines 89 to 95
Similar behavior exists for other unhandled rejections:
Lines 70 to 73
Potentially related: some asynchronous test failures are incorrectly attributed to the AUT, not the spec window.
Correctly attribute unhandled rejections and exceptions to the spec or the AUT, do not miss handling any errors.
The text was updated successfully, but these errors were encountered:
This affects cy.route2 req/res callbacks pretty hard - failing assertions in those callbacks will display in the command log, but will not cause the test to be failed.
Sorry, something went wrong.
Wouldnt this be just a matter of binding correctly unhandledrejection listener in those places:
Lines 52 to 53
If that's the answer then I could work on fixing this.
Internal Jira issue: TR-670
The code for this is done in cypress-io/cypress#14826, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Released in 7.0.0.
This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v7.0.0, please open a new issue.
No branches or pull requests