Paypal Page Locator Fix

This commit is contained in:
Udayboppasafelite 2026-07-14 20:54:15 -04:00
parent e03ae9f70d
commit 7d011a6305

View file

@ -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) {