Skip to content

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

test(webkit): skip cookieStore change event test on Windows (#41052)

Claudio Saavedra054a3f878e52
diff --git a/tests/library/browsercontext-clearcookies.spec.ts b/tests/library/browsercontext-clearcookies.spec.ts
index ba94f1b327..85fa41b986 100644
--- a/tests/library/browsercontext-clearcookies.spec.ts
+++ b/tests/library/browsercontext-clearcookies.spec.ts
@@ -167,7 +167,8 @@ it('should remove cookies by name and domain', async ({ context, page, server })
it('should not transiently delete non-matching cookies when filtering', {
annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/40953' },
-}, async ({ context, page, server }) => {
+}, async ({ context, page, server, browserName, isWindows }) => {
+ it.skip(browserName === 'webkit' && isWindows, 'cookieStore change events not supported on WebKit/Windows (curl backend lacks cookie change notifications)');
await context.addCookies([{
name: 'keep_me',
value: '1',