diff --git a/playwright-tests/pages/BasePage.ts b/playwright-tests/pages/BasePage.ts index 26c8dfeb..cdd6725d 100644 --- a/playwright-tests/pages/BasePage.ts +++ b/playwright-tests/pages/BasePage.ts @@ -17,7 +17,7 @@ export class BasePage { constructor(page: Page) { this.page = page; - this.continueButton = page.locator('[id="infoBox"]').getByRole('button'); + this.continueButton = page.locator('button', { hasText: /get\s*started|continue/i }); this.pageSpinner = page.getByRole('status'); this.buttonLoadSpin = page.getByRole('alert'); }