Skip to content

Commit

Permalink
test: add a fix due to update of web3modal package
Browse files Browse the repository at this point in the history
  • Loading branch information
pcheremu committed Oct 5, 2023
1 parent f8fcd74 commit dd55a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/src/pages/login.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class LoginPage extends BasePage {
await this.world.page?.waitForSelector(this.loginBtn);
await this.world.page?.locator(this.loginBtn).click(config.increasedTimeout); //click a login button

const popUp = await new MetamaskPage(this.world).catchPopUpByClick("w3m-wallet-image");
const popUp = await new MetamaskPage(this.world).catchPopUpByClick(":text('Browser Wallet')");
await popUp?.locator(metamaskPage.unlockPasswordField).isVisible(config.defaultTimeout);
await popUp?.setViewportSize(config.popUpWindowSize);
const passwordFieldVisible = await popUp
Expand Down

0 comments on commit dd55a2f

Please sign in to comment.