fix: failing trading-accounts (#1610)

This commit is contained in:
Art 2022-10-04 17:32:29 +02:00 committed by GitHub
parent 3c53b7059b
commit 2031a57b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,10 +2,13 @@ import { MarketState } from '@vegaprotocol/types';
import { mockTradingPage } from '../support/trading';
import { connectVegaWallet } from '../support/vega-wallet';
import { connectEthereumWallet } from '../support/ethereum-wallet';
import { generateNetworkParameters } from '../support/mocks/generate-network-parameters';
import { aliasQuery } from '@vegaprotocol/cypress';
beforeEach(() => {
cy.mockGQL((req) => {
mockTradingPage(req, MarketState.STATE_ACTIVE);
aliasQuery(req, 'NetworkParamsQuery', generateNetworkParameters());
});
cy.mockWeb3Provider();
cy.mockGQLSubscription();