@@ -67,16 +67,17 @@ d('Onchain', () => {
67
67
await element ( by . id ( 'TagsAdd' ) ) . tap ( ) ;
68
68
await element ( by . id ( 'TagInputReceive' ) ) . typeText ( `rtag${ i } ` ) ;
69
69
await element ( by . id ( 'TagInputReceive' ) ) . tapReturnKey ( ) ;
70
+ await sleep ( 300 ) ; // wait for keyboard to hide
70
71
await element ( by . id ( 'ShowQrReceive' ) ) . tap ( ) ;
71
72
72
73
await rpc . sendToAddress ( wAddress , '1' ) ;
73
74
await rpc . generateToAddress ( 1 , await rpc . getNewAddress ( ) ) ;
74
75
await electrum ?. waitForSync ( ) ;
75
76
76
- await waitFor ( element ( by . id ( 'NewTxPrompt ' ) ) )
77
+ await waitFor ( element ( by . id ( 'ReceivedTransaction ' ) ) )
77
78
. toBeVisible ( )
78
79
. withTimeout ( 10000 ) ;
79
- await element ( by . id ( 'NewTxPrompt ' ) ) . swipe ( 'down' ) ; // close Receive screen
80
+ await element ( by . id ( 'ReceivedTransaction ' ) ) . swipe ( 'down' ) ; // close Receive screen
80
81
await sleep ( 1000 ) ; // animation
81
82
}
82
83
@@ -140,7 +141,7 @@ d('Onchain', () => {
140
141
) . toHaveText ( '0' ) ;
141
142
142
143
// check Activity
143
- await element ( by . id ( 'HomeScrollView' ) ) . scroll ( 1000 , 'down' , 0 ) ;
144
+ await element ( by . id ( 'HomeScrollView' ) ) . scroll ( 1000 , 'down' , 0 , 0.5 ) ;
144
145
await expect ( element ( by . id ( 'ActivityShort-1' ) ) ) . toBeVisible ( ) ;
145
146
await expect ( element ( by . id ( 'ActivityShort-2' ) ) ) . toBeVisible ( ) ;
146
147
await expect ( element ( by . id ( 'ActivityShort-3' ) ) ) . toBeVisible ( ) ;
@@ -200,7 +201,7 @@ d('Onchain', () => {
200
201
await element ( by . id ( 'Tag-stag-delete' ) ) . tap ( ) ;
201
202
202
203
// calendar, previous month, 0 transactions
203
- await element ( by . id ( 'TimeRangePrompt ' ) ) . tap ( ) ;
204
+ await element ( by . id ( 'DatePicker ' ) ) . tap ( ) ;
204
205
await expect ( element ( by . id ( 'Today' ) ) ) . toBeVisible ( ) ;
205
206
await element ( by . id ( 'PrevMonth' ) ) . tap ( ) ;
206
207
await expect ( element ( by . id ( 'Today' ) ) ) . not . toExist ( ) ;
@@ -210,7 +211,7 @@ d('Onchain', () => {
210
211
await expect ( element ( by . id ( 'Activity-1' ) ) ) . not . toExist ( ) ;
211
212
212
213
// calendar, current date, 3 transactions
213
- await element ( by . id ( 'TimeRangePrompt ' ) ) . tap ( ) ;
214
+ await element ( by . id ( 'DatePicker ' ) ) . tap ( ) ;
214
215
await element ( by . id ( 'CalendarClearButton' ) ) . tap ( ) ;
215
216
await element ( by . id ( 'NextMonth' ) ) . tap ( ) ;
216
217
await element ( by . id ( 'Today' ) ) . tap ( ) ;
@@ -237,10 +238,10 @@ d('Onchain', () => {
237
238
// await rpc.generateToAddress(1, await rpc.getNewAddress());
238
239
// await electrum?.waitForSync();
239
240
240
- await waitFor ( element ( by . id ( 'NewTxPrompt ' ) ) )
241
+ await waitFor ( element ( by . id ( 'ReceivedTransaction ' ) ) )
241
242
. toBeVisible ( )
242
243
. withTimeout ( 10000 ) ;
243
- await element ( by . id ( 'NewTxPrompt ' ) ) . swipe ( 'down' ) ; // close Receive screen
244
+ await element ( by . id ( 'ReceivedTransaction ' ) ) . swipe ( 'down' ) ; // close Receive screen
244
245
await sleep ( 1000 ) ; // animation
245
246
246
247
const coreAddress = await rpc . getNewAddress ( ) ;
@@ -307,7 +308,7 @@ d('Onchain', () => {
307
308
) . toHaveText ( '0' ) ;
308
309
309
310
// check number of outputs for send tx
310
- await element ( by . id ( 'HomeScrollView' ) ) . scroll ( 1000 , 'down' , 0 ) ;
311
+ await element ( by . id ( 'HomeScrollView' ) ) . scroll ( 1000 , 'down' , 0 , 0.5 ) ;
311
312
await expect ( element ( by . id ( 'ActivityShort-1' ) ) ) . toBeVisible ( ) ;
312
313
await expect ( element ( by . id ( 'ActivityShort-2' ) ) ) . toBeVisible ( ) ;
313
314
await element ( by . id ( 'ActivityShowAll' ) ) . tap ( ) ;
0 commit comments