mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-29 19:41:16 -05:00
19e091d0bc
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Co-authored-by: Matt Schile <mschile@cypress.io> Co-authored-by: Ryan Pei <ryanppei@gmail.com> Co-authored-by: Emily Rohrbough <emilyrohrbough@yahoo.com>
64 lines
1.6 KiB
JavaScript
64 lines
1.6 KiB
JavaScript
exports['invalid env error'] = `
|
|
Cypress encountered an error while parsing the argument: --env
|
|
|
|
You passed: nonono
|
|
|
|
The error was: Cannot parse as valid JSON
|
|
`
|
|
|
|
exports['invalid reporter options error'] = `
|
|
Cypress encountered an error while parsing the argument: --reporterOptions
|
|
|
|
You passed: abc
|
|
|
|
The error was: Cannot parse as valid JSON
|
|
`
|
|
|
|
exports['invalid config error'] = `
|
|
Cypress encountered an error while parsing the argument: --config
|
|
|
|
You passed: xyz
|
|
|
|
The error was: Cannot parse as valid JSON
|
|
`
|
|
|
|
exports['invalid spec error'] = `
|
|
Cypress encountered an error while parsing the argument: --spec
|
|
|
|
You passed: {}
|
|
|
|
The error was: spec must be a string or comma-separated list
|
|
`
|
|
|
|
exports['invalid --auto-cancel-after-failures error'] = `
|
|
Cypress encountered an error while parsing the argument: --auto-cancel-after-failures
|
|
|
|
You passed: foo
|
|
|
|
The error was: auto-cancel-after-failures must be an integer or false
|
|
`
|
|
|
|
exports['invalid --auto-cancel-after-failures (true) error'] = `
|
|
Cypress encountered an error while parsing the argument: --auto-cancel-after-failures
|
|
|
|
You passed: true
|
|
|
|
The error was: auto-cancel-after-failures must be an integer or false
|
|
`
|
|
|
|
exports['invalid --auto-cancel-after-failures (negative value) error'] = `
|
|
Cypress encountered an error while parsing the argument: --auto-cancel-after-failures
|
|
|
|
You passed: true
|
|
|
|
The error was: auto-cancel-after-failures must be an integer or false
|
|
`
|
|
|
|
exports['invalid --auto-cancel-after-failures (decimal value) error'] = `
|
|
Cypress encountered an error while parsing the argument: --auto-cancel-after-failures
|
|
|
|
You passed: 1.5
|
|
|
|
The error was: auto-cancel-after-failures must be an integer or false
|
|
`
|