From dd55a2fcb2c15b2058b582dd0a356af16df77ede Mon Sep 17 00:00:00 2001 From: pcheremu Date: Thu, 5 Oct 2023 18:08:56 +0200 Subject: [PATCH] test: add a fix due to update of web3modal package --- tests/e2e/src/pages/login.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/src/pages/login.page.ts b/tests/e2e/src/pages/login.page.ts index 0b6c42742..bd5bd6978 100644 --- a/tests/e2e/src/pages/login.page.ts +++ b/tests/e2e/src/pages/login.page.ts @@ -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