You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had this problem.
My solution was to add the code to the e2e.ts file:
Cypress.on("uncaught:exception", (err, runnable) => {
// returning false here prevents Cypress from
// failing the test
return false;
});
Hope this helps.
This issue is happening often for random test cases.
I have an example repo https://github.com/Shelex/cypress-allure-plugin-example where I am already checking that in case cypress crashes - the report will include some message that the crash occurred. However I am afraid that without reproducible steps I would not be able to address your specific case. Also please try latest version, as I do not remember if that feature was already implemented a year ago.
I had this problem. My solution was to add the code to the e2e.ts file: Cypress.on("uncaught:exception", (err, runnable) => { // returning false here prevents Cypress from // failing the test return false; }); Hope this helps.
We already using this code and still seeing that error
Describe the bug
When we see the below kind of error and those failed cases are missing in the report. We are running all scripts in jenkins
To Reproduce
Steps to reproduce the behavior:
This issue is happening often for random test cases.
Expected behavior
All failure test cases should be included in the report
Environment (please complete the following information):
** Developer Tools Console Output **
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: