-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Specs named with spaces have malformed stacks and no code frames for errors #7553
Comments
@chrisbreiding I'm not able to reproduce this exactly. The stack trace still isn't pointing to my spec file, but I don't see the undefined like you do. What am I missing 🤔 4.5.04.6.0+ |
The difference is I was running the |
The code for this is done in cypress-io/cypress#9201, but has yet to be released. |
Released in v6.2.0 |
Current behavior:
If a test fails or there is an error in a spec that has a space in its name, the following issues occur:
undefined:NaN
instead of<line>:<column>
(edit (7/9/20): only happens indevelop
)Desired behavior:
Errors should display properly regardless of file naming conventions.
Test code to reproduce
cypress/integration/with space_spec.js
)Versions
Cypress 4.6.0+
The text was updated successfully, but these errors were encountered: