Skip to content

Commit c86d300

Browse files
committed
use acknowledgeReceivedPayment
1 parent 9c39d07 commit c86d300

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/helpers/actions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,7 @@ export async function waitForToast(
703703
*/
704704
export async function acknowledgeReceivedPayment() {
705705
await elementById('ReceivedTransaction').waitForDisplayed();
706+
await sleep(500);
706707
await tap('ReceivedTransactionButton');
707708
await sleep(300);
708709
}

test/specs/lnurl.e2e.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,7 @@ describe('@lnurl - LNURL', () => {
285285
await expectTextWithin('SendNumberField', '102');
286286
await tap('ContinueAmount');
287287
await tap('WithdrawConfirmButton');
288-
await elementById('ReceivedTransaction').waitForDisplayed();
289-
await swipeFullScreen('down');
288+
await acknowledgeReceivedPayment();
290289
await expectTextWithin('ActivitySpending', '19 410'); // 19 308 + 102 = 19 410
291290
await swipeFullScreen('up');
292291
await swipeFullScreen('up');

0 commit comments

Comments
 (0)