Skip to content

Commit

Permalink
chore: linting and changing timeout location
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 committed Oct 8, 2024
1 parent 39d67e3 commit b510c39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/playwright/pages/PaymentMethodsPage.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ export default class PaymentMethodsPage {
// Click PayPal radio button
if (!expressFlow) {
await this.page.click('#rb_paypal');
await this.page.waitForTimeout(5000);
}

await payPalButton.click();
const popup = await popupPromise;
await payPalButton.click();
await this.page.waitForTimeout(5000);
const popup = await popupPromise;

// Wait for the page load
await popup.waitForNavigation({
Expand Down

0 comments on commit b510c39

Please sign in to comment.