From b2228a660aa2cefa1f9f89e4a2648df9946ae78d Mon Sep 17 00:00:00 2001 From: Joel Einbinder Date: Tue, 18 Aug 2020 11:39:10 -0700 Subject: [PATCH] fix(test): disable more screenshot tests on headful firefox (#3513) --- test/page-screenshot.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/page-screenshot.spec.ts b/test/page-screenshot.spec.ts index 0d0c1845d6c0c..e0c0705706c13 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, gol expect(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');