Paypal Page Locator Fix
This commit is contained in:
parent
e03ae9f70d
commit
7d011a6305
1 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ export class PaypalPage extends BasePage {
|
|||
name: "Log In",
|
||||
exact: true,
|
||||
});
|
||||
this.payButton = page.getByRole("button", { name: "Pay $" });
|
||||
// this.payButton = page.getByRole("button", { name: "Pay $" });
|
||||
this.payButton = page.getByRole("button", { exact: true, name: "Pay" });
|
||||
}
|
||||
|
||||
async completePaypalPurchase(paymentDetailsAdyen: IPaymentDetailsAdyen) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue