Skip to content

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

test(bidi): remove another fail expectation for Firefox/Bidi (#41258)

Holger Benl98b70e11aed7
diff --git a/tests/library/browsercontext-timezone-id.spec.ts b/tests/library/browsercontext-timezone-id.spec.ts
index 5c4229d281..2091dfc97e 100644
--- a/tests/library/browsercontext-timezone-id.spec.ts
+++ b/tests/library/browsercontext-timezone-id.spec.ts
@@ -118,8 +118,8 @@ it('should affect Intl.DateTimeFormat().resolvedOptions().timeZone', async ({ br
await context.close();
});
-it('should propagate timezone to workers', async ({ browser, browserName, server }) => {
- it.fail(browserName === 'firefox', 'https://github.com/microsoft/playwright/issues/38919');
+it('should propagate timezone to workers', async ({ browser, browserName, isBidi, server }) => {
+ it.fail(browserName === 'firefox' && !isBidi, 'https://github.com/microsoft/playwright/issues/38919');
const context = await browser.newContext({ timezoneId: 'America/Jamaica' });
const page = await context.newPage();
await page.goto(server.EMPTY_PAGE);