Files
cypress/packages/server/__snapshots__/args_spec.js
T
Alejandro Estrada 19e091d0bc feat: add --auto-cancel-after-failures flag (#25237)
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>
2023-02-10 10:32:54 -06:00

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
`