Update to test timeout increase
This commit is contained in:
parent
6ca20a80a0
commit
e8cfb14a77
1 changed files with 4 additions and 1 deletions
|
|
@ -129,6 +129,9 @@ export class BasePage {
|
||||||
}
|
}
|
||||||
|
|
||||||
async waitForURLToChange(startingUrl: string) {
|
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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue