Skip to content

Commit 9c39d07

Browse files
committed
use acknowledgeReceivedPayment
1 parent ffd4a83 commit 9c39d07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/specs/lnurl.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
waitForToast,
2424
dismissBackgroundPaymentsTimedSheet,
2525
enterAddressViaScanPrompt,
26+
acknowledgeReceivedPayment,
2627
} from '../helpers/actions';
2728
import { reinstallApp } from '../helpers/setup';
2829
import { ciIt } from '../helpers/suite';
@@ -312,8 +313,7 @@ describe('@lnurl - LNURL', () => {
312313
const reviewAmtWithdraw = await elementByIdWithin('WithdrawAmount-primary', 'MoneyText');
313314
await expect(reviewAmtWithdraw).toHaveText('303');
314315
await tap('WithdrawConfirmButton');
315-
await elementById('ReceivedTransaction').waitForDisplayed();
316-
await swipeFullScreen('down');
316+
await acknowledgeReceivedPayment();
317317
await expectTextWithin('ActivitySpending', '19 713'); // 19 410 + 303 = 19 713
318318
await swipeFullScreen('up');
319319
await swipeFullScreen('up');

0 commit comments

Comments
 (0)