File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import {
2424 dismissQuickPayIntro ,
2525 doNavigationClose ,
2626 acknowledgeReceivedPayment ,
27+ waitForBackup ,
2728} from '../helpers/actions' ;
2829import { reinstallApp } from '../helpers/setup' ;
2930import { bitcoinURL , lndConfig } from '../helpers/constants' ;
@@ -238,8 +239,7 @@ describe('@lightning - Lightning', () => {
238239
239240 // wipe and restore wallet
240241 const seed = await getSeed ( ) ;
241- // await waitForBackup();
242- await sleep ( 10_000 ) ; //temp wait (until we have a proper event for backup completion)
242+ await waitForBackup ( ) ;
243243 await restoreWallet ( seed ) ;
244244
245245 // check balance
@@ -264,6 +264,7 @@ describe('@lightning - Lightning', () => {
264264 await tap ( 'DrawerSettings' ) ;
265265 await tap ( 'AdvancedSettings' ) ;
266266 await tap ( 'Channels' ) ;
267+ await sleep ( 500 ) ;
267268 await tap ( 'Channel' ) ;
268269 await expectTextWithin ( 'TotalSize' , '₿ 100 000' ) ;
269270 await swipeFullScreen ( 'up' ) ;
You can’t perform that action at this time.
0 commit comments