Skip to content

Commit

Permalink
chore: fix CI e2e test (#1464)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelVallenet authored Dec 20, 2024
1 parent 0088374 commit af0c1e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cypress/e2e/gno/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ export const resetChain = () => {

export const connectWallet = () => {
// NOTE: Wait a little bit to ensure that Connect wallet exist and clickable
cy.wait(500);
cy.wait(2000);

cy.contains("Connect wallet").click({ force: true });

cy.get("div[data-testid=connect-gnotest-wallet]", {
timeout: 5_000,
}).click({ force: true });
})
.should("exist")
.click({ force: true });
cy.contains("Connect wallet").should("not.exist");
};

0 comments on commit af0c1e7

Please sign in to comment.