test(ff): narrow down bounding box skips

This commit is contained in:
Pavel Feldman 2022-06-09 13:47:58 -07:00
parent 211fae295f
commit 0711a8b169
2 changed files with 5 additions and 2 deletions

View File

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

View File

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