From 10b22aca88d78373a4c8ec62dbf4910dc5f9491d Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Fri, 2 Sep 2022 15:03:39 -0700 Subject: [PATCH] test: third party cookies via an iframe on wk mac (#17050) --- tests/library/browsercontext-cookies.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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({