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 test that fails on Electron (#6837)

Andrey Lushnikova1106e5d4ed3
diff --git a/tests/page/page-autowaiting-no-hang.spec.ts b/tests/page/page-autowaiting-no-hang.spec.ts
index 03c097febf..67d1cc3413 100644
--- a/tests/page/page-autowaiting-no-hang.spec.ts
+++ b/tests/page/page-autowaiting-no-hang.spec.ts
@@ -23,7 +23,8 @@ it('clicking on links which do not commit navigation', async ({page, server, htt
await page.click('a');
});
-it('calling window.stop async', async ({page, server}) => {
+it('calling window.stop async', async ({page, server, isElectron}) => {
+ it.fail(isElectron);
server.setRoute('/empty.html', async (req, res) => {});
await page.evaluate(url => {
window.location.href = url;