From d33687db83d19223ac606315117b9cf07d7bd671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Rodriguez=20V=C3=A9lez?= Date: Sun, 13 Oct 2024 18:54:08 -0400 Subject: [PATCH] Update bluewallet2.spec.js --- tests/e2e/bluewallet2.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/bluewallet2.spec.js b/tests/e2e/bluewallet2.spec.js index a579c76ae..1b40b1b34 100644 --- a/tests/e2e/bluewallet2.spec.js +++ b/tests/e2e/bluewallet2.spec.js @@ -231,8 +231,8 @@ describe('BlueWallet UI Tests - import BIP84 wallet', () => { await expect(element(by.text('1 of 2'))).not.toBeVisible(); // Verify that the address and amount fields are empty - await expect(element(by.id('AddressInput').withAncestor(by.id('Transaction0')))).toHaveText(''); - await expect(element(by.id('BitcoinAmountInput').withAncestor(by.id('Transaction0')))).toHaveText(''); + await element(by.id('BitcoinAmountInput').withAncestor(by.id('Transaction0'))).clearText(); + await expect(element(by.id('BitcoinAmountInput').withAncestor(by.id('Transaction0')))).toHaveText('0'); // Now, we can add the recipients again to proceed with the test // Let's create real transaction again: