File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed
Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -655,9 +655,9 @@ export async function receiveOnchainFunds(
655655 await acknowledgeReceivedPayment ( ) ;
656656
657657 await mineBlocks ( rpc , blocksToMine ) ;
658- if ( blocksToMine > 0 ) {
659- await waitForToast ( 'PaymentConfirmedToast' ) ;
660- }
658+ // if (blocksToMine > 0) {
659+ // await waitForToast('PaymentConfirmedToast');
660+ // }
661661
662662 if ( driver . isAndroid ) {
663663 await dismissBackupTimedSheet ( ) ;
@@ -678,14 +678,13 @@ export async function receiveOnchainFunds(
678678}
679679
680680type ToastId =
681- | 'PaymentConfirmedToast'
681+ | 'PaymentConfirmedToast' // removed
682+ | 'TransactionConfirmedToast' //removed
682683 | 'PaymentFailedToast'
683- | 'TransactionConfirmedToast'
684684 | 'ReceivedTransactionReplacedToast'
685685 | 'TransactionReplacedToast'
686686 | 'TransactionUnconfirmedToast'
687687 | 'TransactionRemovedToast' ;
688-
689688export async function waitForToast ( toastId : ToastId ) {
690689 await elementById ( toastId ) . waitForDisplayed ( ) ;
691690}
Original file line number Diff line number Diff line change @@ -15,12 +15,10 @@ import {
1515 elementByIdWithin ,
1616 getTextUnder ,
1717 mineBlocks ,
18- attemptRefreshOnHomeScreen ,
1918 doNavigationClose ,
2019 getSeed ,
2120 waitForBackup ,
2221 restoreWallet ,
23- waitForToast ,
2422} from '../helpers/actions' ;
2523import { bitcoinURL } from '../helpers/constants' ;
2624import initElectrum from '../helpers/electrum' ;
@@ -144,7 +142,6 @@ describe('@boost - Boost', () => {
144142
145143 // mine new block
146144 await mineBlocks ( rpc , 1 ) ;
147- await waitForToast ( 'TransactionConfirmedToast' ) ;
148145 await doNavigationClose ( ) ;
149146 await sleep ( 500 ) ;
150147
@@ -269,7 +266,6 @@ describe('@boost - Boost', () => {
269266
270267 // mine new block
271268 await mineBlocks ( rpc , 1 ) ;
272- await waitForToast ( 'TransactionConfirmedToast' ) ;
273269 await doNavigationClose ( ) ;
274270 await sleep ( 500 ) ;
275271
You can’t perform that action at this time.
0 commit comments