From ae057b67616b07f0ba6df85c031c32b7790bcc7c Mon Sep 17 00:00:00 2001 From: Harsh Date: Fri, 20 Oct 2023 17:30:12 +0530 Subject: [PATCH] fix e2e --- .../cypress/e2e/functional/transferDomain/addresses.spec.ts | 1 - .../e2e/functional/wallet/settings/serviceProvider.spec.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mobile-app/cypress/e2e/functional/transferDomain/addresses.spec.ts b/mobile-app/cypress/e2e/functional/transferDomain/addresses.spec.ts index 8ce25730b6..a89a0cabfc 100644 --- a/mobile-app/cypress/e2e/functional/transferDomain/addresses.spec.ts +++ b/mobile-app/cypress/e2e/functional/transferDomain/addresses.spec.ts @@ -47,7 +47,6 @@ context("Portfolio - Send - Address Book", () => { cy.getByTestID("save_address_label").click().wait(1000); cy.getByTestID("pin_authorize").type("000000").wait(2000); cy.wait(1000); - cy.getByTestID("address_book_button").click(); cy.getByTestID(`address_row_label_${index}_WHITELISTED`).contains( labels[index], ); diff --git a/mobile-app/cypress/e2e/functional/wallet/settings/serviceProvider.spec.ts b/mobile-app/cypress/e2e/functional/wallet/settings/serviceProvider.spec.ts index d173297217..6a4a7ccdcd 100644 --- a/mobile-app/cypress/e2e/functional/wallet/settings/serviceProvider.spec.ts +++ b/mobile-app/cypress/e2e/functional/wallet/settings/serviceProvider.spec.ts @@ -107,8 +107,8 @@ defichainUrlEnvs.forEach((defichainUrlEnv) => { cy.getByTestID("button_submit").click().wait(3000); cy.getByTestID("pin_authorize").type("000000", { delay: 3000 }); cy.wait(5000); - cy.url().should("include", "app/portfolio"); cy.getByTestID("bottom_tab_portfolio").click(); + cy.url().should("include", "app/portfolio"); cy.wait(4000); cy.getByTestID("header_settings").click().wait(1000); cy.wait(4000);