Skip to content

Commit

Permalink
fix: adjusted timeout for redirect used for giropay
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 committed Nov 17, 2023
1 parent 48f48d2 commit a6332d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/playwright/pages/PaymentMethodsPage.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -340,9 +340,10 @@ export default class PaymentMethodsPage {

// Generic function to be used for simulating the redirect
waitForRedirect = async () => {
await Promise.all([
this.page.waitForNavigation(),
]);
await this.page.waitForNavigation({
timeout: 20000,
waitUntil: 'load',
});
};

async continueOnKlarna(skipModal) {
Expand Down

0 comments on commit a6332d0

Please sign in to comment.