Skip to content

Commit

Permalink
Reorder tests
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Aug 24, 2023
1 parent 81d2557 commit eabe3a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/e2e/specs/metamask-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit eabe3a0

Please sign in to comment.