Compare commits

...
Author SHA1 Message Date
Dariusz Majcherczyk cb4aeb6d8d test: added check if the market not exist 2023-02-17 10:05:01 +01:00
Dariusz Majcherczyk e5bcc1dc96 test: wait for hash 2023-02-17 09:44:37 +01:00
Dariusz Majcherczyk 2a8094ed6d test: added wait for market 2023-02-17 09:16:41 +01:00
@@ -23,6 +23,7 @@ describe('Desktop view', { tags: '@smoke' }, () => {
cy.wrap(element)
.get('span.absolute.md\\:h-1.w-full')
.should('exist');
cy.contains('No market').should('not.exist');
cy.location('hash').should('equal', hashes[index]);
});
});
@@ -68,6 +69,7 @@ describe('Mobile view', { tags: '@smoke' }, () => {
cy.getByTestId('button-menu-drawer').click();
cy.getByTestId('menu-drawer').within((el) => {
cy.wrap(el).getByTestId('Trading').click();
cy.contains('No market').should('not.exist');
cy.location('hash').should('equal', '#/markets/market-1');
});
});