From 62739afe003c6c11875753e547449910308d8c98 Mon Sep 17 00:00:00 2001 From: itaven Date: Mon, 20 Nov 2023 14:46:19 +0500 Subject: [PATCH] fix: fix bitGet locators in firstTimeSetup() --- packages/wallets/src/bitget/bitgetPage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wallets/src/bitget/bitgetPage.ts b/packages/wallets/src/bitget/bitgetPage.ts index 76c7a35c..7b27af2a 100644 --- a/packages/wallets/src/bitget/bitgetPage.ts +++ b/packages/wallets/src/bitget/bitgetPage.ts @@ -52,11 +52,11 @@ export class BitgetPage implements WalletPage { if (!this.page) throw "Page isn't ready"; await this.page.click("button:has-text('Import a wallet')"); await this.page.fill( - "input[placeholder='Minimum 6 characters']", + "input:below(div > p:has-text('Enter password'))", this.config.PASSWORD, ); await this.page.fill( - "input[placeholder='Enter the password again']", + "input:below(p:has-text('Confirm password'))", this.config.PASSWORD, ); await this.page.click("button:has-text('Next')");