Skip to content

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

test(firefox): enable passing "userDataDir option should restore cookies" (#1487)

Yury Semikhatskyafbc2f272a98
diff --git a/test/launcher.spec.js b/test/launcher.spec.js
index 574782a030..bed23c73e1 100644
--- a/test/launcher.spec.js
+++ b/test/launcher.spec.js
@@ -317,7 +317,7 @@ module.exports.describe = function({testRunner, expect, defaultBrowserOptions, p
await removeUserDataDir(userDataDir2);
});
// See https://github.com/microsoft/playwright/issues/717
- it.slow().fail(FFOX || (WIN && CHROMIUM))('userDataDir option should restore cookies', async({server}) => {
+ it.slow().fail(WIN && CHROMIUM)('userDataDir option should restore cookies', async({server}) => {
const userDataDir = await makeUserDataDir();
const browserContext = await browserType.launchPersistentContext(userDataDir, defaultBrowserOptions);
const page = await browserContext.newPage();