File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed
Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ export async function getLDKNodeID(): Promise<string> {
103103 await elementById ( 'LDKNodeID' ) . waitForDisplayed ( { timeout : 60_000 } ) ;
104104 const ldkNodeId = ( await elementById ( 'LDKNodeID' ) . getText ( ) ) . trim ( ) ;
105105 console . info ( { ldkNodeId } ) ;
106+ await sleep ( 500 ) ;
106107 await tap ( 'NavigationBack' ) ;
107108 return ldkNodeId ;
108109}
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ describe('@lightning - Lightning', () => {
9898
9999 // Toast message
100100 await expectText ( 'Spending Balance Ready' ) ;
101+ await expectText ( 'Spending Balance Ready' , { visible : false } ) ;
101102
102103 // check channel status
103104 await checkChannelStatus ( ) ;
@@ -117,6 +118,7 @@ describe('@lightning - Lightning', () => {
117118
118119 // send funds to LDK, 111 sats invoice
119120 await tap ( 'Receive' ) ;
121+ await sleep ( 1000 ) ;
120122 await tap ( 'SpecifyInvoiceButton' ) ;
121123 await tap ( 'ReceiveNumberPadTextField' ) ;
122124 await sleep ( 100 ) ;
@@ -270,12 +272,12 @@ describe('@lightning - Lightning', () => {
270272 // close channel
271273 await tap ( 'CloseConnection' ) ;
272274 await tap ( 'CloseConnectionButton' ) ;
275+ await acknowledgeReceivedPayment ( ) ;
273276 await elementByText ( 'Transfer Initiated' ) . waitForDisplayed ( ) ;
274277 await elementByText ( 'Transfer Initiated' ) . waitForDisplayed ( { reverse : true } ) ;
275278
276279 await mineBlocks ( rpc , 6 ) ;
277280 await electrum ?. waitForSync ( ) ;
278- await acknowledgeReceivedPayment ( ) ;
279281 await elementById ( 'Channel' ) . waitForDisplayed ( { reverse : true } ) ;
280282 await tap ( 'NavigationBack' ) ;
281283 await doNavigationClose ( ) ;
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ describe('@numberpad - NumberPad', () => {
2424 describe ( 'Modern denomination' , ( ) => {
2525 ciIt ( '@numberpad_1 - Receive: Can enter amounts in modern denomination' , async ( ) => {
2626 await tap ( 'Receive' ) ;
27+ await sleep ( 700 ) ;
2728 await tap ( 'SpecifyInvoiceButton' ) ;
2829 await tap ( 'ReceiveNumberPadTextField' ) ;
2930 await sleep ( 700 ) ;
@@ -45,6 +46,7 @@ describe('@numberpad - NumberPad', () => {
4546
4647 ciIt ( '@numberpad_3 - Receive: Can enter amounts in classic denomination' , async ( ) => {
4748 await tap ( 'Receive' ) ;
49+ await sleep ( 700 ) ;
4850 await tap ( 'SpecifyInvoiceButton' ) ;
4951 await tap ( 'ReceiveNumberPadTextField' ) ;
5052 await sleep ( 700 ) ;
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ describe('@settings - Settings', () => {
154154 // open receive tags, add a tag
155155 const tag = 'test123' ;
156156 await tap ( 'Receive' ) ;
157+ await sleep ( 700 ) ;
157158 await tap ( 'SpecifyInvoiceButton' ) ;
158159 ( await elementByText ( tag ) ) . waitForDisplayed ( { reverse : true } ) ;
159160
@@ -177,6 +178,7 @@ describe('@settings - Settings', () => {
177178
178179 // open receive tags, check tags are gone
179180 await tap ( 'Receive' ) ;
181+ await sleep ( 700 ) ;
180182 await tap ( 'SpecifyInvoiceButton' ) ;
181183 ( await elementByText ( tag ) ) . waitForDisplayed ( { reverse : true } ) ;
182184 await tap ( 'TagsAdd' ) ;
You can’t perform that action at this time.
0 commit comments