From 4525ce95cebeb1bfc5a4e5e11e103037a849f2b4 Mon Sep 17 00:00:00 2001 From: JennyNou Date: Thu, 19 Mar 2026 10:52:44 -0400 Subject: [PATCH] Add TPA submit button for global continue locator --- playwright-tests/pages/BasePage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright-tests/pages/BasePage.ts b/playwright-tests/pages/BasePage.ts index 6e0d2ece..1c8ba1da 100644 --- a/playwright-tests/pages/BasePage.ts +++ b/playwright-tests/pages/BasePage.ts @@ -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'); }