test(webkit): uncomment fixed viewport screenshot tests (#1346)
This commit is contained in:
parent
7e8ab8a175
commit
9b8f4a2246
BIN
test/golden-webkit/screenshot-element-mobile.png
Normal file
BIN
test/golden-webkit/screenshot-element-mobile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 474 B |
BIN
test/golden-webkit/screenshot-mobile-fullpage.png
Normal file
BIN
test/golden-webkit/screenshot-mobile-fullpage.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
|
|
@ -179,7 +179,7 @@ module.exports.describe = function({testRunner, expect, product, FFOX, CHROMIUM,
|
|||
expect(screenshot).toBeGolden('screenshot-mobile-clip.png');
|
||||
await context.close();
|
||||
});
|
||||
it.skip(FFOX).fail(WEBKIT)('should work with a mobile viewport and fullPage', async({browser, server}) => {
|
||||
it.skip(FFOX)('should work with a mobile viewport and fullPage', async({browser, server}) => {
|
||||
const context = await browser.newContext({viewport: { width: 320, height: 480, isMobile: true }});
|
||||
const page = await context.newPage();
|
||||
await page.goto(server.PREFIX + '/overflow-large.html');
|
||||
|
|
@ -376,7 +376,7 @@ module.exports.describe = function({testRunner, expect, product, FFOX, CHROMIUM,
|
|||
const screenshot = await elementHandle.screenshot();
|
||||
expect(screenshot).toBeGolden('screenshot-element-fractional.png');
|
||||
});
|
||||
it.skip(FFOX).fail(WEBKIT)('should work with a mobile viewport', async({browser, server}) => {
|
||||
it.skip(FFOX)('should work with a mobile viewport', async({browser, server}) => {
|
||||
const context = await browser.newContext({viewport: { width: 320, height: 480, isMobile: true }});
|
||||
const page = await context.newPage();
|
||||
await page.goto(server.PREFIX + '/grid.html');
|
||||
|
|
|
|||
Loading…
Reference in a new issue