From 9d68db7b567e5dbb9664af064fa3e163bcad94ed Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 27 Nov 2022 17:38:20 +0100 Subject: [PATCH] Fix cypress trade test --- cypress/e2e/trade.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/trade.cy.ts b/cypress/e2e/trade.cy.ts index 137ff2f9..14231cc4 100644 --- a/cypress/e2e/trade.cy.ts +++ b/cypress/e2e/trade.cy.ts @@ -31,7 +31,7 @@ describe('Trade', () => { cy.get('button').should('contain', 'ETH/USDT').should('be.visible'); cy.get('button').contains('ETH/USDT').should('be.visible'); - cy.get('a[role="tab"]').contains('General').click(); + cy.get('button[role="tab"]').contains('General').click(); cy.get('button').contains('ETH/USDT').should('not.be.visible'); }); });