-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Improve Test Runner error experience #3762
Comments
see Stack overflow question How to figure out in which file and code line a cypress test has failed? |
More ideas for improvements from discussion with Brian on 1/17:
|
The code for this is done in cypress-io/cypress#6724, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
This was partially released in 4.3.0. The full release with code frames is still in progress at #3930 |
The code for this is done in cypress-io/cypress#3930, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Goal
The goal is to make the process of debugging tests and code easier.
Why
Implementation
Types of errors
Current design of error within Command Log
Current design applied to types of errors
WIP Proposed internal error structure
Cypress Error (one code frame)
Cypress Error (two code frames)
Assertion Error
Spec/Application Error
Existing Issues
There are a number of existing issues that might make sense to address under the umbrella of “error improvement" (I’m sure there are more):
baseUrl
not present warning Be more user-friendly when checking that baseUrl server is responding #3284after
hooks don’t error Exceptions in after() don't show up in UI #3348The text was updated successfully, but these errors were encountered: