chore: try fix esocket timeout error in ci (#1227)

This commit is contained in:
Joe Tsang 2022-09-02 09:57:52 +01:00 committed by GitHub
parent 2e3a2526c0
commit cf63e8d85e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,9 @@ describe('deposit form validation', () => {
aliasQuery(req, 'NetworkParamsQuery', generateNetworkParameters());
aliasQuery(req, 'AssetsConnection', generateDepositPage());
});
cy.visit('/portfolio/deposit');
cy.visit('/portfolio/deposit', {
headers: { 'Accept-Encoding': 'gzip, deflate' },
});
cy.wait('@AssetsConnection');
// Deposit page requires connection Ethereum wallet first

View File

@ -9,7 +9,7 @@ describe('vega wallet', () => {
beforeEach(() => {
// Using portfolio page as it requires vega wallet connection
cy.visit('/portfolio');
cy.visit('/portfolio', { headers: { 'Accept-Encoding': 'gzip, deflate' } });
cy.get('main[data-testid="portfolio"]').should('exist');
});