From 9bcae5baf9a83bb2b33bd3099189046dab8fad40 Mon Sep 17 00:00:00 2001 From: Artyom Jaksov Date: Tue, 22 Oct 2024 12:55:26 +0200 Subject: [PATCH] increase timeout --- tests/e2e/pages/order-confirmation-page.ts | 2 +- tests/e2e/pages/payment-confirmation-page.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/pages/order-confirmation-page.ts b/tests/e2e/pages/order-confirmation-page.ts index 52558ff..5f1bfa5 100644 --- a/tests/e2e/pages/order-confirmation-page.ts +++ b/tests/e2e/pages/order-confirmation-page.ts @@ -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}); } } \ No newline at end of file diff --git a/tests/e2e/pages/payment-confirmation-page.ts b/tests/e2e/pages/payment-confirmation-page.ts index 3e2b0f7..521c34f 100644 --- a/tests/e2e/pages/payment-confirmation-page.ts +++ b/tests/e2e/pages/payment-confirmation-page.ts @@ -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(); }