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.
If an uncaught error occurs, in either app code or test code, Cypress displays the error message, but not its stack, which could be useful for debugging.
Desired behavior:
Cypress should always display the stack for uncaught errors.
Test code to reproduce
In your spec file:
setTimeout(()=>{foo.bar()})// give the test time to run, so the run doesn't end before the error is caughtit('waits',()=>{cy.wait(9999)})
Versions
Cypress: 4.3.0
The text was updated successfully, but these errors were encountered:
The code for this is done in cypress-io/cypress#6965, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Current behavior:
If an uncaught error occurs, in either app code or test code, Cypress displays the error message, but not its stack, which could be useful for debugging.
Desired behavior:
Cypress should always display the stack for uncaught errors.
Test code to reproduce
In your spec file:
Versions
Cypress: 4.3.0
The text was updated successfully, but these errors were encountered: