diff --git a/packages/ui/cypress/tests/default-multisigs.cy.ts b/packages/ui/cypress/tests/default-multisigs.cy.ts index b9b4f6f9..93abc897 100644 --- a/packages/ui/cypress/tests/default-multisigs.cy.ts +++ b/packages/ui/cypress/tests/default-multisigs.cy.ts @@ -15,23 +15,17 @@ describe('default Multisigs', () => { watchedAccounts: [lolmcshizPubKey] }) - multisigPage.accountHeader().within(() => { - accountDisplay - .addressLabel() - .invoke('text') - .as('defaultPolkadotAddress') - .should('not.contain', polkadotSelectedMultiproxy.slice(0, 6)) - }) - - cy.log('@defaultPolkadotAddress', cy.get('@defaultPolkadotAddress')) - // select another one - topMenuItems.desktopMenu().within(() => + topMenuItems.desktopMenu().within(() => { topMenuItems - .multiproxySelectorDesktop() + .multiproxySelectorInputDesktop() + .should('not.have.value', '') .click() - .type(`${polkadotSelectedMultiproxy.slice(0, 6)}{downArrow}{enter}`, { timeout: 6000 }) - ) + .type(`${polkadotSelectedMultiproxy.slice(0, 6)}{downArrow}{enter}`, { + delay: 100, + timeout: 6000 + }) + }) // verify that it's displayed multisigPage.accountHeader().within(() => { @@ -46,18 +40,19 @@ describe('default Multisigs', () => { accountDisplay .addressLabel() .invoke('text') - .as('defaultKusamaAddress') .should('not.contain', kusamaSelectedMultiproxy.slice(0, 6)) }) - cy.log('@defaultKusamaAddress', cy.get('@defaultKusamaAddress')) - // select another one topMenuItems.desktopMenu().within(() => topMenuItems - .multiproxySelectorDesktop() + .multiproxySelectorInputDesktop() + .should('not.have.value', '') .click() - .type(`${kusamaSelectedMultiproxy.slice(0, 6)}{downArrow}{enter}`, { timeout: 6000 }) + .type(`${kusamaSelectedMultiproxy.slice(0, 6)}{downArrow}{enter}`, { + delay: 100, + timeout: 6000 + }) ) // verify that it's displayed