Files
cypress/system-tests/test/issue_5016_spec.js
Cacie Prins 9782dbba0e chore: disable Firefox in system test for screenshot timeout bugfix (#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>
2024-03-12 12:51:52 -04:00

24 lines
801 B
JavaScript

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: 'chrome',
})
systemTests.it('fails but does not timeout taking screenshot', {
project: 'config-screenshot-on-failure-enabled',
sanitizeScreenshotDimensions: true,
snapshot: true,
expectedExitCode: 1,
browser: 'electron',
})
})