Skip to content

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

test: goForward is flaky in firefox (#15182)

Yury Semikhatskybcb013d240ec
diff --git a/tests/library/browsercontext-har.spec.ts b/tests/library/browsercontext-har.spec.ts
index c94ce4ec56..219ed56ff6 100644
--- a/tests/library/browsercontext-har.spec.ts
+++ b/tests/library/browsercontext-har.spec.ts
@@ -209,8 +209,9 @@ it('should goBack to redirected navigation', async ({ context, isAndroid, asset,
expect(await page.evaluate(() => location.href)).toBe('https://www.theverge.com/');
});
-it('should goForward to redirected navigation', async ({ context, isAndroid, asset, server }) => {
+it('should goForward to redirected navigation', async ({ context, isAndroid, asset, server, browserName }) => {
it.fixme(isAndroid);
+ it.fixme(browserName === 'firefox', 'Flaky in firefox');
const path = asset('har-redirect.har');
await context.routeFromHAR(path, { url: /.*theverge.*/ });