diff --git a/tests/e2e/specs/metamask-spec.js b/tests/e2e/specs/metamask-spec.js index a43f93afd..65509240d 100644 --- a/tests/e2e/specs/metamask-spec.js +++ b/tests/e2e/specs/metamask-spec.js @@ -176,16 +176,16 @@ describe('Metamask', () => { expect(created).to.be.true; }); }); - it(`renameMetamaskAccount should not fail when account with this name already exists`, () => { - cy.renameMetamaskAccount('custom-fancy-wallet').then(created => { - expect(created).to.be.equal('This account name already exists'); - }); - }); it(`switchMetamaskAccount should switch to another account using order number`, () => { cy.switchMetamaskAccount(2).then(switched => { expect(switched).to.be.true; }); }); + it(`renameMetamaskAccount should not fail when account with this name already exists`, () => { + cy.renameMetamaskAccount('custom-fancy-wallet').then(created => { + expect(created).to.be.equal('This account name already exists'); + }); + }); it(`getMetamaskWalletAddress should return wallet address of current metamask account`, () => { cy.getMetamaskWalletAddress().then(address => { expect(address).to.be.equal(