Add TPA submit button for global continue locator

This commit is contained in:
JennyNou 2026-03-19 10:52:44 -04:00
parent 623c407357
commit 4525ce95ce

View file

@ -18,7 +18,7 @@ export class BasePage {
constructor(page: Page) {
this.page = page;
this.continueButton = page.locator('button[data-test-id="site-footer-main-button"]')
.and(page.locator('button', { hasText: /get\s*started|continue/i }));
.and(page.locator('button', { hasText: /get\s*started|continue|submit/i }));
this.pageSpinner = page.getByRole('status');
this.buttonLoadSpin = page.getByRole('alert');
}