Skip to content

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

test: disable flaky redirect loop test (#496)

Joel Einbindera92bec13cbd4
diff --git a/test/screenshot.spec.js b/test/screenshot.spec.js
index 3b48ffbc7b..3d08f687fe 100644
--- a/test/screenshot.spec.js
+++ b/test/screenshot.spec.js
@@ -181,7 +181,8 @@ module.exports.describe = function({testRunner, expect, product, FFOX, CHROMIUM,
const screenshot = await page.screenshot();
expect(screenshot).toBeGolden('screenshot-webgl.png');
});
- it('should work while navigating', async({page, server}) => {
+ // firefox and webkit are flaky
+ it.skip(FFOX || WEBKIT)('should work while navigating', async({page, server}) => {
await page.setViewport({width: 500, height: 500});
await page.goto(server.PREFIX + '/redirectloop1.html');
for (let i = 0; i < 10; i++) {