Skip to content

Commit 0307c73

Browse files
committed
fix(cypress): enable fail-fast strategy for E2E tests and remove auto-cancellation
1 parent 91e815f commit 0307c73

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
if: ${{ needs.changes.outputs.cms == 'true' }}
6161
runs-on: ubuntu-latest
6262
strategy:
63-
fail-fast: false # Let Cypress Cloud auto-cancellation handle failures
63+
fail-fast: true
6464
matrix:
6565
machine: [1, 2, 3, 4]
6666
steps:

cypress/run.mjs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ async function runCypress() {
5252
if (tags.length > 0) {
5353
args.push('--tag', tags.join(','));
5454
}
55-
56-
// Enable auto-cancellation to save CI time on failures
57-
args.push('--auto-cancel-after-failures', '3');
5855
}
5956

6057
console.log('Running Cypress with args:', args.join(' '));

0 commit comments

Comments
 (0)