Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
test: disable certain screencast tests on Firefox. (#6396)
Andrey Lushnikovce7a72b217d5
diff --git a/tests/screencast.spec.ts b/tests/screencast.spec.tsindex 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: {