Update to test timeout increase

This commit is contained in:
JennyNou 2026-04-08 12:49:45 -04:00
parent 6ca20a80a0
commit e8cfb14a77

View file

@ -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 });
}
}