fix(test): disable more screenshot tests on headful firefox (#3513)

This commit is contained in:
Joel Einbinder 2020-08-18 11:39:10 -07:00 committed by GitHub
parent 5a964f7f99
commit b2228a660a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');