Missing codeframe with the error that causes a test to be retried #30927
Labels
stage: investigating
Someone from Cypress is looking into this
type: regression
A bug that didn't appear until a specific Cy version release
v14.0.0 🐛
Issue present since 14.0.0
Current behavior
When a runnable fails and is retried, the error that caused the failure is missing the spec codeframe. Instead, a stack is displayed that includes cypress codepoints executed after the spec invocation point.
Desired behavior
When a runnable fails and is retried, the error that caused the failure displays the correct codeframe and stack.
Test code to reproduce
Cypress Version
14.0.0
Node version
v20.18.1
Operating System
macOS 14.6.1
Debug Logs
Other
No response
The text was updated successfully, but these errors were encountered: