Skip to content

Commit c157b8e

Browse files
committed
wait for load event (default) instead networkidle that is marked as discoraged
1 parent e6169bc commit c157b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/pages/BasePage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export class BasePage {
4040
/**
4141
* Wait for page to be fully loaded with all network requests completed
4242
*/
43-
async waitForPageReady(timeout = 30000): Promise<void> {
44-
await this.page.waitForLoadState("networkidle", { timeout })
43+
async waitForPageReady(): Promise<void> {
44+
await this.page.waitForLoadState()
4545
}
4646

4747
/**

0 commit comments

Comments
 (0)