File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ describe('@settings - Settings', () => {
4343 await tap ( 'TotalBalance' ) ;
4444 }
4545 await expect ( fiatSymbol ) . toHaveText ( '$' ) ;
46+ if ( driver . isIOS ) {
47+ await waitForToast ( 'BalanceUnitSwitchedToast' ) ;
48+ }
4649
4750 // - change settings (currency to EUR) //
4851 await tap ( 'HeaderMenu' ) ;
@@ -132,6 +135,7 @@ describe('@settings - Settings', () => {
132135 await tap ( 'N1' ) ;
133136 await tap ( 'Continue' ) ;
134137 await tap ( 'NavigationBack' ) ;
138+ await sleep ( 1000 ) ;
135139 await expect ( await elementByIdWithin ( 'TransactionSpeedSettings' , 'Value' ) ) . toHaveText (
136140 / .* C u s t o m /
137141 ) ;
@@ -245,7 +249,7 @@ describe('@settings - Settings', () => {
245249
246250 // Restart the app
247251 await sleep ( 3000 ) ;
248- await launchFreshApp ( { tryHandleAlert : driver . isAndroid } ) ;
252+ await launchFreshApp ( ) ;
249253 // Balance should be hidden
250254 await elementById ( 'ShowBalance' ) . waitForDisplayed ( ) ;
251255 } ) ;
@@ -259,6 +263,7 @@ describe('@settings - Settings', () => {
259263 await sleep ( 1000 ) ;
260264 await tap ( 'ResetAndRestore' ) ;
261265 await tap ( 'NavigationBack' ) ;
266+ await sleep ( 1000 ) ;
262267 await tap ( 'BackupWallet' ) ;
263268 await sleep ( 1000 ) ; // animation
264269
You can’t perform that action at this time.
0 commit comments