Fix cypress trade test

This commit is contained in:
Matthias 2022-11-27 17:38:20 +01:00
parent 2dcb91f49f
commit 9d68db7b56

View File

@ -31,7 +31,7 @@ describe('Trade', () => {
cy.get('button').should('contain', 'ETH/USDT').should('be.visible'); cy.get('button').should('contain', 'ETH/USDT').should('be.visible');
cy.get('button').contains('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'); cy.get('button').contains('ETH/USDT').should('not.be.visible');
}); });
}); });