Update locator for TPA flow to work

This commit is contained in:
JennyNou 2026-04-03 12:10:28 -04:00
parent 9c391239b4
commit 4b67276abb

View file

@ -9,7 +9,7 @@ export class TpaSearchPage extends BasePage {
constructor(page: Page) {
super(page);
this.page = page;
this.firstLocationButton = page.locator('div.button-content').first();
this.firstLocationButton = page.locator('div.button-content').filter({ hasNotText: /safelite/i }).first();
}
async selectFirstLocation() {