Skip to content

Commit

Permalink
test: added test for creating new wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed Mar 29, 2024
1 parent 302ce17 commit 0673df0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/e2e/specs/keplr/keplr-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ describe('Keplr', () => {
);
});

it(`should create a brand new wallet`, () => {
cy.setupWallet({
createNewWallet: true,
walletName: 'my created wallet',
}).then(setupFinished => {
expect(setupFinished).to.be.true;
});
});
it(`should complete Keplr setup by importing an existing wallet using 24 word phrase`, () => {
cy.setupWallet().then(setupFinished => {
expect(setupFinished).to.be.true;
Expand Down Expand Up @@ -153,5 +161,10 @@ describe('Keplr', () => {
expect(walletAddress.length).to.be.equal(45);
});
});
it(`should create a brand new wallet without password input`, () => {
cy.setupWallet({ createNewWallet: true }).then(setupFinished => {
expect(setupFinished).to.be.true;
});
});
});
});

0 comments on commit 0673df0

Please sign in to comment.