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
fix(test): disable more screenshot tests on headful firefox (#3513)
Joel Einbinderb2228a660aa2
diff --git a/test/page-screenshot.spec.ts b/test/page-screenshot.spec.tsindex 0d0c1845d6..e0c0705706 100644--- a/test/page-screenshot.spec.ts+++ b/test/page-screenshot.spec.ts@@ -250,7 +250,7 @@ it.skip(ffheadful)('should work with iframe in shadow', async({page, server, golexpect(await page.screenshot()).toMatchImage(golden('screenshot-iframe.png'));});-it('path option should work', async({page, server, golden, tmpDir}) => {+it.skip(ffheadful)('path option should work', async({page, server, golden, tmpDir}) => {await page.setViewportSize({width: 500, height: 500});await page.goto(server.PREFIX + '/grid.html');const outputPath = path.join(tmpDir, 'screenshot.png');@@ -258,7 +258,7 @@ it('path option should work', async({page, server, golden, tmpDir}) => {expect(await fs.promises.readFile(outputPath)).toMatchImage(golden('screenshot-sanity.png'));});-it('path option should create subdirectories', async({page, server, golden, tmpDir}) => {+it.skip(ffheadful)('path option should create subdirectories', async({page, server, golden, tmpDir}) => {await page.setViewportSize({width: 500, height: 500});await page.goto(server.PREFIX + '/grid.html');const outputPath = path.join(tmpDir, 'these', 'are', 'directories', 'screenshot.png');