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>
This commit is contained in:
Alejandro Estrada
2023-02-10 11:32:54 -05:00
committed by GitHub
parent acfe868d62
commit 19e091d0bc
31 changed files with 1008 additions and 566 deletions
+4
View File
@@ -45,6 +45,10 @@ const processRunOptions = (options = {}) => {
const args = ['--run-project', options.project]
if (options.autoCancelAfterFailures || options.autoCancelAfterFailures === 0 || options.autoCancelAfterFailures === false) {
args.push('--auto-cancel-after-failures', options.autoCancelAfterFailures)
}
if (options.browser) {
args.push('--browser', options.browser)
}