Update locator for lookup buttons

This commit is contained in:
JennyNou 2026-03-24 10:59:01 -04:00
parent c8971ef97d
commit 68d914dd0e
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ export class AddressLookupPage extends BasePage {
super(page); super(page);
this.page = page; this.page = page;
this.addressForm = new AddressForm(page); this.addressForm = new AddressForm(page);
this.addressNoMatchTextBox = page.getByText('Your address didnt return a VIN matchPlease re-enter the information below or'); this.addressNoMatchTextBox = page.getByText('Your address didnt return a VIN match');
this.stateRestrictionsTextBox = page.getByText('State restrictionsLooks like'); this.stateRestrictionsTextBox = page.getByText('State restrictionsLooks like');
} }

View file

@ -19,7 +19,7 @@ export class VehicleLookupPage extends BasePage {
constructor(page: Page) { constructor(page: Page) {
super(page); super(page);
this.page = page; this.page = page;
this.vinLookupButton = page.getByLabel('Provide my VIN manually', { exact: true }); this.vinLookupButton = page.getByLabel('Provide my VIN', { exact: true });
this.addressLookupButton = page.getByLabel('Provide my home address', { exact: true }); this.addressLookupButton = page.getByLabel('Provide my home address', { exact: true });
this.licenseLookupButton = page.getByLabel('Provide my license plate #', { exact: true }); this.licenseLookupButton = page.getByLabel('Provide my license plate #', { exact: true });
this.vinLookupPage = new VinLookupPage(page); this.vinLookupPage = new VinLookupPage(page);