Skip to content

Commit 584ddb0

Browse files
committed
fix test from failing
1 parent 8a6f348 commit 584ddb0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/page-objects/wallet/AccountListBottomSheet.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { ConnectAccountBottomSheetSelectorsIDs } from '../../../app/components/V
88
import { AccountCellIds } from '../../../app/component-library/components-temp/MultichainAccounts/AccountCell/AccountCell.testIds';
99
import Matchers from '../../framework/Matchers';
1010
import Gestures from '../../framework/Gestures';
11+
import Assertions from '../../framework/Assertions';
1112

1213
class 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,

0 commit comments

Comments
 (0)