Skip to content

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

test: enable setOffline test on chromium after roll (#42925)

Dmitry Gozmanef205eb0d58f
diff --git a/tests/library/browsercontext-basic.spec.ts b/tests/library/browsercontext-basic.spec.ts
index 662919a375..b6413a3d02 100644
--- a/tests/library/browsercontext-basic.spec.ts
+++ b/tests/library/browsercontext-basic.spec.ts
@@ -371,8 +371,8 @@ it('should emulate navigator.onLine across navigations', {
{ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/42174' },
{ type: 'issue', description: 'https://issues.chromium.org/issues/544795254' },
],
-}, async ({ browser, server, browserName }) => {
- it.fixme(browserName === 'chromium', 'does not survive cross-process navgiation');
+}, async ({ browser, server, browserName, browserMajorVersion }) => {
+ it.skip(browserName === 'chromium' && browserMajorVersion < 155, 'does not survive cross-process navgiation');
const context = await browser.newContext();
const page = await context.newPage();