From bc6a40a69a74828b8a0ca417b8f0d45883df83cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Zi=C3=B3=C5=82ek?= Date: Fri, 1 Mar 2024 12:31:34 +0100 Subject: [PATCH] test: add disconnect after proposal patron test --- client/cypress/e2e/proposals.cy.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/cypress/e2e/proposals.cy.ts b/client/cypress/e2e/proposals.cy.ts index ed46af2ab2..526d4af1b4 100644 --- a/client/cypress/e2e/proposals.cy.ts +++ b/client/cypress/e2e/proposals.cy.ts @@ -168,6 +168,10 @@ Object.values(viewports).forEach(({ device, viewportWidth, viewportHeight }) => } }); + after(() => { + cy.disconnectMetamaskWalletFromAllDapps(); + }); + it('button "add to allocate" is disabled', () => { for (let i = 0; i < proposalNames.length; i++) { cy.get('[data-test^=ProposalsView__ProposalsListItem]').eq(i).scrollIntoView();