Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test(ff): narrow down bounding box skips

Pavel Feldman0711a8b169b6
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 });