Update locator
This commit is contained in:
parent
5dc79f8e38
commit
65c88ee04f
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ export class PolicyVehiclesPage extends BasePage {
|
||||||
}
|
}
|
||||||
|
|
||||||
async addAnotherVehicle(){
|
async addAnotherVehicle(){
|
||||||
await this.page.getByText('Add another vehicle').click();
|
await this.page.getByRole('button', {name: 'Add another vehicle'}).click();
|
||||||
}
|
}
|
||||||
|
|
||||||
async assertNonServiceableAlertBehavior(){
|
async assertNonServiceableAlertBehavior(){
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue