From 938f3cc1605261bd3acba31721b474cd111a3bf8 Mon Sep 17 00:00:00 2001 From: b4rtaz Date: Mon, 29 Jan 2024 12:33:09 +0100 Subject: [PATCH] fix: e2e test --- demos/react/cypress/e2e/Home.cy.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/demos/react/cypress/e2e/Home.cy.ts b/demos/react/cypress/e2e/Home.cy.ts index a9379f6576..fd7bdc139b 100644 --- a/demos/react/cypress/e2e/Home.cy.ts +++ b/demos/react/cypress/e2e/Home.cy.ts @@ -25,7 +25,9 @@ describe('Homepage', () => { cy.get('[data-testid="runContractFunctionButton"]').should('exist').click(); - cy.get('[data-testid="outputTextarea"]').should('exist').contains('0x3eb879cc9a0Ef4C6f1d870A40ae187768c278Da2'); + cy.get('[data-testid="outputTextarea"]') + .should('exist') + .contains(/0x\w{40}/); }); it('resolves domain correctly', () => {