From 9ee166590f4e035878d928c2637fcaa7020534ba Mon Sep 17 00:00:00 2001 From: Philipp Walter Date: Thu, 8 Feb 2024 13:38:40 +0100 Subject: [PATCH] test(receive): fix numberpad e2e tests --- e2e/numberpad.e2e.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/numberpad.e2e.js b/e2e/numberpad.e2e.js index 64facb0aa..471b8b9a1 100644 --- a/e2e/numberpad.e2e.js +++ b/e2e/numberpad.e2e.js @@ -58,7 +58,9 @@ d('NumberPad', () => { await element( by.id('NRemove').withAncestor(by.id('ReceiveNumberPad')), ).multiTap(8); - await expect(element(by.text('0.00'))).toBeVisible(); + await expect( + element(by.text('0.00').withAncestor(by.id('ReceiveNumberPadTextField'))), + ).toBeVisible(); await element(by.id('N0').withAncestor(by.id('ReceiveNumberPad'))).multiTap( 2, );