mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
fix(test): disable more screenshot tests on headful firefox (#3513)
This commit is contained in:
parent
5a964f7f99
commit
b2228a660a
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user