Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: fix lint in page-goto.spec (#17052)
Dmitry Gozman1b59abb5e1f5
diff --git a/tests/page/page-goto.spec.ts b/tests/page/page-goto.spec.tsindex b94559a22d..3f6587ae85 100644--- a/tests/page/page-goto.spec.ts+++ b/tests/page/page-goto.spec.ts@@ -638,7 +638,7 @@ it('should not resolve goto upon window.stop()', async ({ browserName, page, serresponse = res;});let done = false;- const promise = page.goto(server.PREFIX + '/window-stop.html').then(() => done = true).catch(() => {});+ page.goto(server.PREFIX + '/window-stop.html').then(() => done = true).catch(() => {});await server.waitForRequest('/module.js');expect(done).toBe(false);await page.waitForTimeout(1000); // give it some time to erroneously resolve