Skip to content

Commit a80eae9

Browse files
Merge pull request #377 from Web3Auth/demo_wallet
checked in cases for demo wallet - https://demo-wallet.web3auth.io/
2 parents 712c051 + 5c9e637 commit a80eae9

File tree

9 files changed

+674
-120
lines changed

9 files changed

+674
-120
lines changed

authservice/openlogin-account-page/AccountsPage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ export class AccountsPage {
223223
}
224224

225225
async getOpenLoginState() {
226-
await this.page.waitForSelector('button:has-text("Get openlogin state")');
227-
await this.page.locator('button:has-text("Get openlogin state")').click();
226+
await this.page.waitForSelector(`xpath=.//p[text()='User info']`);
227+
await this.page.locator("button").filter({ hasText: "Get openlogin state" }).click();
228228
const keys = await this.page.locator("xpath=.//div[@id='console']//pre").first().textContent();
229229
return keys;
230230
}

0 commit comments

Comments
 (0)