diff --git a/playwright-tests/pages/BasePage.ts b/playwright-tests/pages/BasePage.ts index 1c8ba1da..bf950f07 100644 --- a/playwright-tests/pages/BasePage.ts +++ b/playwright-tests/pages/BasePage.ts @@ -132,6 +132,6 @@ export class BasePage { await expect(async () => { const currentUrl = this.page.url(); expect(currentUrl).not.toEqual(startingUrl); - }).toPass({ timeout: 60_000 }); + }).toPass({ timeout: 70_000 }); } } \ No newline at end of file diff --git a/playwright-tests/pages/PolicyHolderDetailsPage.ts b/playwright-tests/pages/PolicyHolderDetailsPage.ts index 0acde323..2cca536a 100644 --- a/playwright-tests/pages/PolicyHolderDetailsPage.ts +++ b/playwright-tests/pages/PolicyHolderDetailsPage.ts @@ -48,7 +48,7 @@ export class PolicyHolderDetailsPage extends BasePage { await this.addressInputBox.fill(customerDetails.address.street); // Wait for suggestions to load (Google Places has a slight delay) - await this.page.locator('.pac-item').first().waitFor({ state: 'visible', timeout: 5000 }); + await this.page.locator('.pac-item').first().waitFor({ state: 'visible', timeout: 6000 }); // Click the first result await this.page.locator('.pac-item').first().click();