Skip to content

Commit a6cbd85

Browse files
authored
Merge pull request #67 from synonymdev/chore/vss-update-version
Chore/vss update version
2 parents 2356c07 + d4d5d2e commit a6cbd85

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

test/helpers/lnd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ export async function waitForActiveChannel(
6969
}) => PromiseLike<{ channels: any }> | { channels: any };
7070
},
7171
nodeId: string,
72-
maxRetries = 20
72+
maxRetries = 200
7373
) {
7474
let retries = 0;
7575

7676
while (retries < maxRetries) {
77-
await sleep(1000);
77+
await sleep(100);
7878
const { channels } = await lnd.listChannels({
7979
peer: Buffer.from(nodeId, 'hex'),
8080
activeOnly: true,

test/specs/lightning.e2e.ts

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

102102
// Toast message
103-
await waitForToast('SpendingBalanceReadyToast');
104-
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+
}
105109
// check channel status
106110
await checkChannelStatus();
107111

0 commit comments

Comments
 (0)