Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
fullstackninja864 committed Mar 14, 2024
1 parent 3673327 commit 60c20e7
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,22 @@ context(
);
});
});
},
);

context(
"Wallet - Network detail screen - with wallet context (switching network)",
{ testIsolation: false },
() => {
before(() => {
cy.visit("/");
cy.exitWallet();
cy.clearLocalStorage();
cy.clearCookies();
cy.createEmptyWallet(true);
});

it("should check network detail by switching network", () => {
cy.getByTestID("bottom_tab_portfolio").click();
cy.getByTestID("bottom_tab_portfolio").click();
cy.getByTestID("header_settings").click();
cy.getByTestID("header_active_network")
Expand Down Expand Up @@ -264,7 +277,6 @@ context(
cy.getByTestID("header_network_icon")
.filter(":visible")
.click();
console.log({ updatedNetwork });
expect(network).not.eq(updatedNetwork);
cy.getByTestID("network_details_network")
.should("exist")
Expand Down

0 comments on commit 60c20e7

Please sign in to comment.