Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-jaksov-tl committed Oct 22, 2024
1 parent 9a9269e commit 9bcae5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/pages/order-confirmation-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ export class OrderConfirmationPage {
// Methods
async waitForProcessingAndReturnToStore() {
await this.paymentBeingProcessedText().isVisible();
await expect(this.orderConfirmedText()).toBeVisible({timeout: 1});
await expect(this.orderConfirmedText()).toBeVisible({timeout: 90000});
}
}
2 changes: 1 addition & 1 deletion tests/e2e/pages/payment-confirmation-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class PaymentConfirmationPage {

// Methods
async waitForProcessingAndContinue() {
await expect(this.paymentProcessingText().or(this.paymentConfirmedText())).toBeVisible({timeout: 30000})
await expect(this.paymentProcessingText().or(this.paymentConfirmedText())).toBeVisible({timeout: 40000})
await expect(this.continueButton()).toBeVisible();
await this.continueButton().click();
}
Expand Down

0 comments on commit 9bcae5b

Please sign in to comment.