From 0711a8b169b68a12b95ba3b5b10b15217618b570 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 9 Jun 2022 13:47:58 -0700 Subject: [PATCH] test(ff): narrow down bounding box skips --- tests/page/elementhandle-bounding-box.spec.ts | 4 +++- tests/page/locator-misc-2.spec.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/page/elementhandle-bounding-box.spec.ts b/tests/page/elementhandle-bounding-box.spec.ts index 7858474ab9..f89bf6540e 100644 --- a/tests/page/elementhandle-bounding-box.spec.ts +++ b/tests/page/elementhandle-bounding-box.spec.ts @@ -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)'); diff --git a/tests/page/locator-misc-2.spec.ts b/tests/page/locator-misc-2.spec.ts index bb9f7623ce..4d13c23c60 100644 --- a/tests/page/locator-misc-2.spec.ts +++ b/tests/page/locator-misc-2.spec.ts @@ -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 });