Skip to content

Commit

Permalink
chore: fixes for await async
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed Mar 5, 2024
1 parent 9567506 commit 1638199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/keplr.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,11 @@ const keplr = {

async switchWallet({ walletName }) {
await module.exports.switchToKeplrIfNotActive();
module.exports.goToWalletsPage();
await module.exports.goToWalletsPage();

await playwright.waitAndClickByText(
walletName,
await playwright.keplrWindow(),
playwright.keplrWindow(),
true,
);
await playwright.switchToCypressWindow();
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/specs/keplr/keplr-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ describe('Keplr', () => {
it(`should complete Keplr setup by importing the wallet using private key`, () => {
cy.setupWallet(
'A9C09B6E4AF70DE1F1B621CB1AA66CFD0B4AA977E4C18497C49132DD9E579485',
null,
false,
'My wallet 3',
).then(setupFinished => {
Expand Down

0 comments on commit 1638199

Please sign in to comment.