From e0db2c26f48b6cf1ea5df674355a8a62e2034272 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Mon, 3 May 2021 16:48:34 -0700 Subject: [PATCH] test: disable certain screencast tests on Firefox. --- 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 3bc0d169e4d5b..15c9ea6ec2a74 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: {