@@ -74,10 +74,10 @@ d('Onchain', () => {
7474 await rpc . generateToAddress ( 1 , await rpc . getNewAddress ( ) ) ;
7575 await electrum ?. waitForSync ( ) ;
7676
77- await waitFor ( element ( by . id ( 'NewTxPrompt ' ) ) )
77+ await waitFor ( element ( by . id ( 'ReceivedTransaction ' ) ) )
7878 . toBeVisible ( )
7979 . withTimeout ( 10000 ) ;
80- await element ( by . id ( 'NewTxPrompt ' ) ) . swipe ( 'down' ) ; // close Receive screen
80+ await element ( by . id ( 'ReceivedTransaction ' ) ) . swipe ( 'down' ) ; // close Receive screen
8181 await sleep ( 1000 ) ; // animation
8282 }
8383
@@ -201,7 +201,7 @@ d('Onchain', () => {
201201 await element ( by . id ( 'Tag-stag-delete' ) ) . tap ( ) ;
202202
203203 // calendar, previous month, 0 transactions
204- await element ( by . id ( 'TimeRangePrompt ' ) ) . tap ( ) ;
204+ await element ( by . id ( 'DatePicker ' ) ) . tap ( ) ;
205205 await expect ( element ( by . id ( 'Today' ) ) ) . toBeVisible ( ) ;
206206 await element ( by . id ( 'PrevMonth' ) ) . tap ( ) ;
207207 await expect ( element ( by . id ( 'Today' ) ) ) . not . toExist ( ) ;
@@ -211,7 +211,7 @@ d('Onchain', () => {
211211 await expect ( element ( by . id ( 'Activity-1' ) ) ) . not . toExist ( ) ;
212212
213213 // calendar, current date, 3 transactions
214- await element ( by . id ( 'TimeRangePrompt ' ) ) . tap ( ) ;
214+ await element ( by . id ( 'DatePicker ' ) ) . tap ( ) ;
215215 await element ( by . id ( 'CalendarClearButton' ) ) . tap ( ) ;
216216 await element ( by . id ( 'NextMonth' ) ) . tap ( ) ;
217217 await element ( by . id ( 'Today' ) ) . tap ( ) ;
@@ -238,10 +238,10 @@ d('Onchain', () => {
238238 // await rpc.generateToAddress(1, await rpc.getNewAddress());
239239 // await electrum?.waitForSync();
240240
241- await waitFor ( element ( by . id ( 'NewTxPrompt ' ) ) )
241+ await waitFor ( element ( by . id ( 'ReceivedTransaction ' ) ) )
242242 . toBeVisible ( )
243243 . withTimeout ( 10000 ) ;
244- await element ( by . id ( 'NewTxPrompt ' ) ) . swipe ( 'down' ) ; // close Receive screen
244+ await element ( by . id ( 'ReceivedTransaction ' ) ) . swipe ( 'down' ) ; // close Receive screen
245245 await sleep ( 1000 ) ; // animation
246246
247247 const coreAddress = await rpc . getNewAddress ( ) ;
0 commit comments