diff --git a/mobile-app/cypress.config.js b/mobile-app/cypress.config.js index 76d11f31b0..9ae3e0bb90 100644 --- a/mobile-app/cypress.config.js +++ b/mobile-app/cypress.config.js @@ -56,7 +56,6 @@ module.exports = defineConfig({ "cypress/e2e/functional/wallet/portfolio/convert/convert.spec.ts", "cypress/e2e/functional/wallet/portfolio/poolpairRewards.spec.ts", // Functional/Wallet/Settings - "cypress/e2e/functional/wallet/settings/networkDetails.spec.ts", "cypress/e2e/functional/wallet/settings/addressBook.spec.ts", "cypress/e2e/functional/wallet/settings/changePasscode.spec.ts", // Functional/Wallet/Transaction 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 d3e61f25a7..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,8 @@ context("Wallet - Network detail screen - outside wallet context", () => { beforeEach(() => { cy.visit("/"); cy.exitWallet(); - cy.getByTestID("get_started_button").click(); + cy.wait(3000); + cy.getByTestID("get_started_button").should("be.visible").click(); cy.getByTestID("guidelines_check").click(); cy.url().should("include", "wallet/onboarding/guidelines"); cy.restoreLocalStorage(); @@ -321,6 +322,7 @@ context( }); it("should get back to the setting page when network detail called from setting page", () => { + cy.wait(1000); cy.getByTestID("bottom_tab_portfolio").click().wait(3000); cy.getByTestID("header_settings").filter(":visible").click().wait(3000); cy.url().should("include", "app/Settings"); diff --git a/mobile-app/cypress/support/commands.ts b/mobile-app/cypress/support/commands.ts index e40ed27eb6..1afc9e0f0b 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(); });