Skip to content

Commit

Permalink
chore: put in workaround for failing system test spec to be fixed in …
Browse files Browse the repository at this point in the history
…27062
  • Loading branch information
AtofStryker committed Jun 16, 2023
1 parent 9b34513 commit 129a152
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
14 changes: 12 additions & 2 deletions system-tests/__snapshots__/browser_crash_handling_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,17 @@ This can happen for many different reasons:
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: false
│ Video: true
│ Duration: X seconds │
│ Spec Ran: chrome_process_crash.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Video)
- Video output: /XXX/XXX/XXX/cypress/videos/chrome_process_crash.cy.js.mp4
────────────────────────────────────────────────────────────────────────────────────────────────────
Running: simple.cy.js (2 of 2)
Expand All @@ -242,12 +247,17 @@ This can happen for many different reasons:
│ Pending: 0 │
│ Skipped: 0 │
│ Screenshots: 0 │
│ Video: false
│ Video: true
│ Duration: X seconds │
│ Spec Ran: simple.cy.js │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
(Video)
- Video output: /XXX/XXX/XXX/cypress/videos/chrome_process_crash.cy.js.mp4
====================================================================================================
(Run Finished)
Expand Down
1 change: 1 addition & 0 deletions system-tests/test/browser_crash_handling_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ describe('Browser Crash Handling', () => {
spec: 'chrome_process_crash.cy.js,simple.cy.js',
snapshot: true,
expectedExitCode: 1,
// FIXME: this test fails with video off due to a race condition on setting the spec. @see https://github.com/cypress-io/cypress/issues/27062.
config: {
video: true,
},
Expand Down

0 comments on commit 129a152

Please sign in to comment.