From 2f70fc84645b7f07c50d101175537f38cf9d7339 Mon Sep 17 00:00:00 2001 From: Rampraesath Date: Wed, 5 Jul 2023 14:52:02 +0800 Subject: [PATCH] added wait at clear wallet --- .../e2e/functional/wallet/settings/networkDetails.spec.ts | 2 +- mobile-app/cypress/support/commands.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile-app/cypress/e2e/functional/wallet/settings/networkDetails.spec.ts b/mobile-app/cypress/e2e/functional/wallet/settings/networkDetails.spec.ts index bd67fcc121..b20467f18d 100644 --- a/mobile-app/cypress/e2e/functional/wallet/settings/networkDetails.spec.ts +++ b/mobile-app/cypress/e2e/functional/wallet/settings/networkDetails.spec.ts @@ -4,7 +4,7 @@ context("Wallet - Network detail screen - outside wallet context", () => { beforeEach(() => { cy.visit("/"); cy.exitWallet(); - cy.wait(4000); + cy.wait(3000); cy.getByTestID("get_started_button").should("be.visible").click(); cy.getByTestID("guidelines_check").click(); cy.url().should("include", "wallet/onboarding/guidelines"); diff --git a/mobile-app/cypress/support/commands.ts b/mobile-app/cypress/support/commands.ts index c8f2ecb6a6..a7b5569e2c 100644 --- a/mobile-app/cypress/support/commands.ts +++ b/mobile-app/cypress/support/commands.ts @@ -184,6 +184,7 @@ Cypress.Commands.add("closeOceanInterface", (pin?: string) => { }); Cypress.Commands.add("exitWallet", () => { + cy.wait(4000); cy.getByTestID("playground_wallet_clear").click(); });