File tree Expand file tree Collapse file tree
tests/page-objects/wallet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { ConnectAccountBottomSheetSelectorsIDs } from '../../../app/components/V
88import { AccountCellIds } from '../../../app/component-library/components-temp/MultichainAccounts/AccountCell/AccountCell.testIds' ;
99import Matchers from '../../framework/Matchers' ;
1010import Gestures from '../../framework/Gestures' ;
11+ import Assertions from '../../framework/Assertions' ;
1112
1213class AccountListBottomSheet {
1314 get accountList ( ) : DetoxElement {
@@ -143,6 +144,11 @@ class AccountListBottomSheet {
143144 options ?. srpIndex ?? 0 ,
144145 ) ;
145146
147+ await Assertions . expectElementToHaveText ( button , 'Add account' , {
148+ description : 'Add Account button should be ready (not syncing)' ,
149+ timeout : 30000 ,
150+ } ) ;
151+
146152 await Gestures . waitAndTap ( button , {
147153 elemDescription : 'Add Account button in V2 multichain accounts' ,
148154 delay : options ?. shouldWait ? 5000 : 0 ,
You can’t perform that action at this time.
0 commit comments