mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: fix lint in page-goto.spec (#17052)
This commit is contained in:
parent
10b22aca88
commit
1b59abb5e1
@ -638,7 +638,7 @@ it('should not resolve goto upon window.stop()', async ({ browserName, page, ser
|
||||
response = 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user