-
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
Formatted errors does not show as formatted in cypress test runner #23679
Comments
@Amitkahlon It does appear this used to work in 9.6.0 and no longer works in Cypress 10.7.0. Thank you for providing a reproducible example! I will make as a regression. That being said, I don't anticipate this issue will be picked up anytime soon. Would you be interested in contributing a fix to restore this behavior? |
Yeah, that sounds interesting, can you point me in the right direction? |
@Amitkahlon Great!! I did a little digging and I suspect it could be tied to this change: #22537 which was made to enhance the markdown formatting. If it were me, I'd start with verifying the message is in the format you expected before we attempt to format it for the UI. |
Thank you, I will give it a try this weekend |
Hi there, |
Hi, yeah.. |
i have a fix ready, just can't push the branch - have 403 when pushing. @emilyrohrbough could you please help me with it? |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Cypress 10 new test runner omits formatting on errors such as new lines, tabs, etc.
Desired behavior
To be able to throw an error with formattings such as new lines, and tabs.
For example see how cypress dashboard prints the error below
Test code to reproduce
Cypress Version
10.7.0
Node version
16.14.2
Operating System
windows 10
Debug Logs
No response
Other
Cypress Dashboard showing formatted error
The text was updated successfully, but these errors were encountered: