From e8cfb14a77dee2dc578128d4a557308e7287be3e Mon Sep 17 00:00:00 2001 From: JennyNou Date: Wed, 8 Apr 2026 12:49:45 -0400 Subject: [PATCH] Update to test timeout increase --- playwright-tests/pages/BasePage.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playwright-tests/pages/BasePage.ts b/playwright-tests/pages/BasePage.ts index 395d5823..f3746e4c 100644 --- a/playwright-tests/pages/BasePage.ts +++ b/playwright-tests/pages/BasePage.ts @@ -129,6 +129,9 @@ export class BasePage { } async waitForURLToChange(startingUrl: string) { - await this.page.waitForURL(url => url.href !== startingUrl, { timeout: 70_000 }); + await expect(async () => { + const currentUrl = this.page.url(); + expect(currentUrl).not.toEqual(startingUrl); + }).toPass({ timeout: 80_000 }); } } \ No newline at end of file