From ce7a72b217d54bab35741661111cb32a6b61c52e Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 4 May 2021 00:45:36 -0700 Subject: [PATCH] test: disable certain screencast tests on Firefox. (#6396) These were regressed by https://github.com/microsoft/playwright/commit/934bc672f74f03824452c276c972f639adb82e38 Tests link: https://devops.aslushnikov.com/flakiness2.html#commits=20×tamp=1620085865166 --- tests/screencast.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/screencast.spec.ts b/tests/screencast.spec.ts index 3bc0d169e4..15c9ea6ec2 100644 --- a/tests/screencast.spec.ts +++ b/tests/screencast.spec.ts @@ -157,7 +157,8 @@ it.describe('screencast', () => { expect(error.message).toContain('"videoSize" option requires "videosPath" to be specified'); }); - it('should work with old options', async ({browser}, testInfo) => { + it('should work with old options', async ({browser, isFirefox, isWindows}, testInfo) => { + it.fail(isFirefox && isWindows); const videosPath = testInfo.outputPath(''); const size = { width: 450, height: 240 }; const context = await browser.newContext({ @@ -180,7 +181,8 @@ it.describe('screencast', () => { expect(error.message).toContain('recordVideo.dir: expected string, got undefined'); }); - it('should capture static page', async ({browser}, testInfo) => { + it('should capture static page', async ({browser, isFirefox, isWindows}, testInfo) => { + it.fail(isFirefox && isWindows); const size = { width: 450, height: 240 }; const context = await browser.newContext({ recordVideo: {