-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix: show script errors when spec file fails to process #19298
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
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Failures
Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to test it out.
Code looks good!
|
||
</script> | ||
|
||
<style scoped></style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this empty style from the component
<style scoped></style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
* 10.0-release: (53 commits) refactor: makeLegacyContext -> getCtx (#19308) fix: various Nav Bar fixes (#19283) build: add patch package as a dev dependency for fe-shared chore: hoist is - fun with cached dependencies build: hoist is hard build: better hoisting strategy chore: remove unused testing preferences (#19301) fix: remove windows and mac workflow from branch fix: show script errors when spec file fails to process (#19298) revert: remove change about node version 17 feat: open config file in user's editor (#19276) feat(unify): scale the AUT (#19297) build: remove testing of desktop-gui assets build: run window & mac CI in this branch build: more fixes build: remove toycode mdi from launchpad rename patch because of dev dep build: fix merge issue in packages generation chore: update sass for windows compatibility fix: Do not crash when a ill formed URL request is proxied (#19274) ...
User facing changelog
Script errors originating from
@cypress/webpack-preprocessor
are now shown in the runnerAdditional details
The old runner had special handling of script errors that are not caught during the loading of runnable scripts. It would overlay the AUT with the error detected from the
script:error
event rather than showing the error in the command log.This PR restores that functionality by listening to those events and overlaying an error page if detected.
How has the user experience changed?
Old Runner:

New Runner Before:

New Runner After:

Video:
Screen.Recording.2021-12-07.at.2.16.51.PM.mov
PR Tasks