Skip to content

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

test: third party cookies via an iframe on wk mac (#17050)

Yury Semikhatsky10b22aca88d7
diff --git a/tests/library/browsercontext-cookies.spec.ts b/tests/library/browsercontext-cookies.spec.ts
index 56a2bdfc90..d304db968a 100644
--- a/tests/library/browsercontext-cookies.spec.ts
+++ b/tests/library/browsercontext-cookies.spec.ts
@@ -321,8 +321,8 @@ it('should add cookies with an expiration', async ({ context }) => {
}])).rejects.toThrow(/Cookie should have a valid expires/);
});
-it('should be able to send third party cookies via an iframe', async ({ browser, httpsServer, browserName }) => {
- it.fixme(browserName === 'firefox' || browserName === 'webkit');
+it('should be able to send third party cookies via an iframe', async ({ browser, httpsServer, browserName, isMac }) => {
+ it.fixme(browserName === 'firefox' || (browserName === 'webkit' && isMac));
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/16937' });
const context = await browser.newContext({