From e9700a8f7b0d410a21ec00295e17511e83c1ff00 Mon Sep 17 00:00:00 2001 From: port dev <108868128+portdeveloper@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:15:21 +0300 Subject: [PATCH] Move heimdall wakeup into the unverified contract test --- packages/nextjs/cypress/e2e/contract_interaction.cy.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/nextjs/cypress/e2e/contract_interaction.cy.ts b/packages/nextjs/cypress/e2e/contract_interaction.cy.ts index 284888ee..86ac663a 100644 --- a/packages/nextjs/cypress/e2e/contract_interaction.cy.ts +++ b/packages/nextjs/cypress/e2e/contract_interaction.cy.ts @@ -1,8 +1,4 @@ describe("Contract Interaction", () => { - before(() => { - cy.wakeUpHeimdall(); - }); - it("should load DAI contract and interact with its balanceOf method", () => { cy.visit("http://localhost:3000"); cy.loadContract("0x6B175474E89094C44Da98b954EedeAC495271d0F"); @@ -21,6 +17,7 @@ describe("Contract Interaction", () => { }); it("should load unverified contract on Sepolia and ADD changeOwner write method to the UI", () => { + cy.wakeUpHeimdall(); cy.visit("http://localhost:3000"); cy.selectNetwork("Sepolia"); cy.get('input[placeholder="Contract address"]').type("0x759c0e9d7858566df8ab751026bedce462ff42df");