Skip to content

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

test: mark "headless should be able to read cookies written by headful" as flaky on firefox (#3673)

Dmitry Gozman4386cd4e7f86
diff --git a/test/headful.spec.ts b/test/headful.spec.ts
index aaefa8ef8d..8d5cb7d440 100644
--- a/test/headful.spec.ts
+++ b/test/headful.spec.ts
@@ -26,7 +26,7 @@ it('should have default url when launching browser', async ({browserType, defaul
await browserContext.close();
});
-it.fail(WIN && options.CHROMIUM).slow()('headless should be able to read cookies written by headful', async ({browserType, defaultBrowserOptions, server}) => {
+it.fail(WIN && options.CHROMIUM).flaky(options.FIREFOX).slow()('headless should be able to read cookies written by headful', async ({browserType, defaultBrowserOptions, server}) => {
// see https://github.com/microsoft/playwright/issues/717
const userDataDir = await makeUserDataDir();
// Write a cookie in headful chrome