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 one flaky test on Chromium (#1633)

Dmitry Gozmanc345cfee5408
diff --git a/test/autowaiting.spec.js b/test/autowaiting.spec.js
index 13e494eefa..e5300c8dc3 100644
--- a/test/autowaiting.spec.js
+++ b/test/autowaiting.spec.js
@@ -206,7 +206,10 @@ module.exports.describe = function({testRunner, expect, playwright, MAC, WIN, FF
setTimeout(() => window.stop(), 100);
}, server.EMPTY_PAGE);
});
- it('calling window.stop sync', async({page, server, httpsServer}) => {
+ it.fail(CHROMIUM)('calling window.stop sync', async({page, server, httpsServer}) => {
+ // Flaky, see https://github.com/microsoft/playwright/pull/1630/checks?check_run_id=553475173.
+ // We only get Page.frameStoppedLoading, but do not know that navigation was aborted or
+ // that navigation request was cancelled.
await page.evaluate((url) => {
window.location.href = url;
window.stop();