mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
test(ff): narrow down bounding box skips
This commit is contained in:
parent
211fae295f
commit
0711a8b169
@ -19,7 +19,9 @@ import { test as it, expect } from './pageTest';
|
||||
|
||||
it.skip(({ isAndroid }) => isAndroid);
|
||||
|
||||
it('should work', async ({ page, server }) => {
|
||||
it('should work', async ({ page, server, browserName, headless, isLinux }) => {
|
||||
it.fixme(browserName === 'firefox' && !headless && !isLinux);
|
||||
|
||||
await page.setViewportSize({ width: 500, height: 500 });
|
||||
await page.goto(server.PREFIX + '/grid.html');
|
||||
const elementHandle = await page.$('.box:nth-of-type(13)');
|
||||
|
@ -106,7 +106,8 @@ it('should take screenshot', async ({ page, server, browserName, headless, isAnd
|
||||
expect(screenshot).toMatchSnapshot('screenshot-element-bounding-box.png');
|
||||
});
|
||||
|
||||
it('should return bounding box', async ({ page, server, isAndroid }) => {
|
||||
it('should return bounding box', async ({ page, server, browserName, headless, isAndroid, isLinux }) => {
|
||||
it.fixme(browserName === 'firefox' && !headless && !isLinux);
|
||||
it.skip(isAndroid);
|
||||
|
||||
await page.setViewportSize({ width: 500, height: 500 });
|
||||
|
Loading…
x
Reference in New Issue
Block a user