Skip to content

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

test: Allow third party cookies for Firefox with BiDi as well. (#35953)

Alexandra Borovova277d586138c8
diff --git a/tests/config/browserTest.ts b/tests/config/browserTest.ts
index d2ec226534..82111b24a1 100644
--- a/tests/config/browserTest.ts
+++ b/tests/config/browserTest.ts
@@ -67,7 +67,7 @@ const test = baseTest.extend<BrowserTestTestFixtures, BrowserTestWorkerFixtures>
}, { scope: 'worker' }],
allowsThirdParty: [async ({ browserName }, run) => {
- if (browserName === 'firefox')
+ if (browserName === 'firefox' || browserName as any === '_bidiFirefox')
await run(true);
else
await run(false);