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