chore: fix deposits test (#1143)

This commit is contained in:
Joe Tsang 2022-08-25 09:55:25 +01:00 committed by GitHub
parent 750c421ed5
commit 9825e8f436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,12 +13,10 @@ describe('deposit form validation', () => {
});
cy.visit('/portfolio/deposit');
cy.wait('@AssetsConnection');
// Deposit page requires connection Ethereum wallet first
cy.getByTestId(connectEthWalletBtn).click();
cy.getByTestId('web3-connector-MetaMask').click();
cy.wait('@AssetsConnection');
cy.contains('Deposit');
});
it('handles empty fields', () => {