made final amount due text selector more specific
This commit is contained in:
parent
7ddb3618ae
commit
a3234c9213
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ export class PaymentMethodPage extends BasePage {
|
|||
// Cart panel elements
|
||||
this.cartPanelDetails = this.page.locator('.cart-panel');
|
||||
this.subtotalText = this.page.locator('.sub-total');
|
||||
this.finalAmountDueText = this.page.locator('div.amount-due');
|
||||
this.finalAmountDueText = this.cartPanelDetails.locator('div.amount-due');
|
||||
this.glassServiceText = this.page.locator('div', { hasText: /^Glass service only$/ });
|
||||
this.wiperBladesText = this.page.locator('div', { hasText: /^New wiper blades$/ });
|
||||
this.rainDefenseText = this.page.locator('div', { hasText: /^Rain Defense™$/ });
|
||||
|
|
|
|||
Loading…
Reference in a new issue