test: fixed public key 2 issue in trading test (#1477)

This commit is contained in:
Radosław Szpiech 2022-09-26 13:07:11 +02:00 committed by GitHub
parent 87f7efd960
commit 5d553271a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,8 +55,8 @@ describe('vega wallet', { tags: '@smoke' }, () => {
connectVegaWallet();
cy.getByTestId('manage-vega-wallet').click();
cy.getByTestId('keypair-list').should('exist');
cy.getByTestId(`key-${key2}`).should('contain.text', truncatedKey2);
cy.getByTestId(`key-${key2}`).click();
cy.getByTestId('keypair-list').contains(truncatedKey2);
cy.getByTestId('disconnect').click();
cy.getByTestId('connect-vega-wallet').should('exist');
cy.getByTestId('manage-vega-wallet').should('not.exist');