Skip to content

Commit 2f452e2

Browse files
committed
use waitForToast in lightning for iOS
1 parent c86d300 commit 2f452e2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/specs/lightning.e2e.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,8 @@ describe('@lightning - Lightning', () => {
100100
await waitForActiveChannel(lnd, ldkNodeId);
101101

102102
// Toast message
103-
if (driver.isIOS) {
104-
await expectText('Spending Balance Ready');
105-
await expectText('Spending Balance Ready', { visible: false });
106-
} else {
107-
await waitForToast('SpendingBalanceReadyToast');
108-
}
103+
await waitForToast('SpendingBalanceReadyToast');
104+
109105
// check channel status
110106
await checkChannelStatus();
111107

0 commit comments

Comments
 (0)