From b7d06d4d2465e8449954a8a7698319c593b4f752 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 13 Apr 2023 20:36:17 +0000 Subject: [PATCH] test: worker network attribution is still not fixed in Firefox 113 (#22390) We'll need to wait until it is fixed upstream. References https://github.com/microsoft/playwright/issues/21760 --- tests/page/interception.spec.ts | 2 +- tests/page/workers.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/page/interception.spec.ts b/tests/page/interception.spec.ts index fa5d315eda..1c47104867 100644 --- a/tests/page/interception.spec.ts +++ b/tests/page/interception.spec.ts @@ -93,7 +93,7 @@ it('should work with glob', async () => { }); it('should intercept network activity from worker', async function({ page, server, isAndroid, browserName, browserMajorVersion }) { - it.fixme(browserName === 'firefox' && browserMajorVersion === 112, 'https://github.com/microsoft/playwright/issues/21760'); + it.fixme(browserName === 'firefox' && browserMajorVersion >= 112, 'https://github.com/microsoft/playwright/issues/21760'); it.skip(isAndroid); await page.goto(server.EMPTY_PAGE); diff --git a/tests/page/workers.spec.ts b/tests/page/workers.spec.ts index 37f2e1968e..9defe787af 100644 --- a/tests/page/workers.spec.ts +++ b/tests/page/workers.spec.ts @@ -143,7 +143,7 @@ it('should attribute network activity for worker inside iframe to the iframe', a }); it('should report network activity', async function({ page, server, browserName, browserMajorVersion }) { - it.fixme(browserName === 'firefox' && browserMajorVersion === 112, 'https://github.com/microsoft/playwright/issues/21760'); + it.fixme(browserName === 'firefox' && browserMajorVersion >= 112, 'https://github.com/microsoft/playwright/issues/21760'); const [worker] = await Promise.all([ page.waitForEvent('worker'), page.goto(server.PREFIX + '/worker/worker.html'), @@ -160,7 +160,7 @@ it('should report network activity', async function({ page, server, browserName, }); it('should report network activity on worker creation', async function({ page, server, browserName, browserMajorVersion }) { - it.fixme(browserName === 'firefox' && browserMajorVersion === 112, 'https://github.com/microsoft/playwright/issues/21760'); + it.fixme(browserName === 'firefox' && browserMajorVersion >= 112, 'https://github.com/microsoft/playwright/issues/21760'); // Chromium needs waitForDebugger enabled for this one. await page.goto(server.EMPTY_PAGE); const url = server.PREFIX + '/one-style.css';