From 6ca20a80a08029558b53c52b2ea248c571fdb1dc Mon Sep 17 00:00:00 2001 From: JennyNou Date: Wed, 8 Apr 2026 11:22:57 -0400 Subject: [PATCH] Test change to see if pipeline flakiness improves --- playwright-tests/pages/BasePage.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/playwright-tests/pages/BasePage.ts b/playwright-tests/pages/BasePage.ts index bf950f07..395d5823 100644 --- a/playwright-tests/pages/BasePage.ts +++ b/playwright-tests/pages/BasePage.ts @@ -129,9 +129,6 @@ export class BasePage { } async waitForURLToChange(startingUrl: string) { - await expect(async () => { - const currentUrl = this.page.url(); - expect(currentUrl).not.toEqual(startingUrl); - }).toPass({ timeout: 70_000 }); + await this.page.waitForURL(url => url.href !== startingUrl, { timeout: 70_000 }); } } \ No newline at end of file