Skip to content

Commit

Permalink
chore: disable Firefox in system test for screenshot timeout bugfix (#…
Browse files Browse the repository at this point in the history
…29117)

* chore: disable firefox for issue 5016 system test

* link to flake issue for firefox screenshot timeout

* empty commit to trigger ci

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
  • Loading branch information
cacieprins and jennifer-shehane authored Mar 12, 2024
1 parent 7a7a28f commit 9782dbb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion system-tests/test/issue_5016_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@ const systemTests = require('../lib/system-tests').default
describe('e2e issue 5016 - screenshot times out after clicking target _blank', function () {
systemTests.setup()

// this test originally was scoped to !webkit, but Firefox has a (non-regression) flake
// issue: https://github.com/cypress-io/cypress/issues/29116
systemTests.it('fails but does not timeout taking screenshot', {
project: 'config-screenshot-on-failure-enabled',
sanitizeScreenshotDimensions: true,
snapshot: true,
expectedExitCode: 1,
browser: '!webkit',
browser: 'chrome',
})

systemTests.it('fails but does not timeout taking screenshot', {
project: 'config-screenshot-on-failure-enabled',
sanitizeScreenshotDimensions: true,
snapshot: true,
expectedExitCode: 1,
browser: 'electron',
})
})

0 comments on commit 9782dbb

Please sign in to comment.