-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
throw specific error when cannot parse Cypress arguments #6280
Conversation
Thanks for the contribution! Below are some guidelines Cypress uses when doing PR reviews.
PR Review ChecklistIf any of the following requirements can't be met, leave a comment in the review selecting 'Request changes', otherwise 'Approve'. User Experience
Functionality
Maintainability
Quality
Internal
|
Test summaryRun details
View run in Cypress Dashboard ➡️ 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 |
I have updated code to treat |
yeah, let me see if I can pull the old one and add to them, why
`snap-shot-it` did not notice `.only` and trimmed old ones...
…On Fri, Jan 31, 2020 at 4:47 PM Zach Bloomquist ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In packages/server/__snapshots__/cypress_spec.js
<#6280 (comment)>:
> @@ -1,52 +1,25 @@
-exports['RECORD_PARAMS_WITHOUT_RECORDING-ciBuildId 1'] = `
looks like the snapshots got reordered 😬
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6280?email_source=notifications&email_token=AAQ4BJQROHODSTK3FI7KPWLRASL65A5CNFSM4KN36O7KYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCT4AAJQ#pullrequestreview-351797286>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ4BJX5NCE5IO434VLDGZDRASL65ANCNFSM4KN36O7A>
.
--
Dr. Gleb Bahmutov, PhD
Schedule video chat / phone call / meeting with me via
https://calendly.com/bahmutov
gleb.bahmutov@gmail.com @bahmutov <https://twitter.com/@bahmutov>
https://glebbahmutov.com/ https://glebbahmutov.com/blog
https://github.com/bahmutov
|
snapshots back to normal |
User facing changelog
Cypress can silently fail to parse custom config string, or fail with a weird "cannot call split of undefined" error. This change catches config-parsing errors, prints an error message and the config string before exiting.
Example error message
Same guard for parsing
env
andreporterOptions
arguments.PR Tasks