fix: flakey cypress test runs (#409)
* fix: wait for aggrid to render before asserting * fix: mock markets manually and move wait for aggrid to init
This commit is contained in:
parent
6800f22064
commit
5a00ad8361
@ -6,6 +6,7 @@ import MarketsPage from '../pages/markets-page';
|
||||
const marketsPage = new MarketsPage();
|
||||
|
||||
const mockMarkets = () => {
|
||||
cy.log('Mocking markets query');
|
||||
cy.mockGQL('Markets', (req) => {
|
||||
if (hasOperationName(req, 'Markets')) {
|
||||
req.reply({
|
||||
|
Loading…
Reference in New Issue
Block a user