From 9782dbba0ec0a0f87dac8c147f934850c82ab6e4 Mon Sep 17 00:00:00 2001 From: Cacie Prins Date: Tue, 12 Mar 2024 12:51:52 -0400 Subject: [PATCH] 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 --- system-tests/test/issue_5016_spec.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/system-tests/test/issue_5016_spec.js b/system-tests/test/issue_5016_spec.js index 774f45a2ba75..053fe1522d28 100644 --- a/system-tests/test/issue_5016_spec.js +++ b/system-tests/test/issue_5016_spec.js @@ -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', }) })