22import { loginToApp } from '../../viewHelper' ;
33import { SmokeNetworkAbstractions } from '../../tags' ;
44import WalletView from '../../pages/wallet/WalletView' ;
5- import Assertions from '../../framework/Assertions' ;
5+ import DetectedTokensView from '../../pages/wallet/DetectedTokensView' ;
6+ import Assertions from '../../utils/Assertions' ;
67import TestHelpers from '../../helpers' ;
7- import FixtureBuilder from '../../framework/ fixtures/FixtureBuilder ' ;
8- import { withFixtures } from '../../framework/ fixtures/FixtureHelper ' ;
8+ import FixtureBuilder from '../../fixtures/fixture-builder ' ;
9+ import { withFixtures } from '../../fixtures/fixture-helper ' ;
910
1011const ETHEREUM_NAME = 'Ethereum' ;
11- const USDC_NAME = 'USDCoin ' ;
12+ const USDC_NAME = 'USDC ' ;
1213
1314describe ( SmokeNetworkAbstractions ( 'Import all tokens detected' ) , ( ) => {
1415 beforeAll ( async ( ) => {
@@ -25,12 +26,12 @@ describe(SmokeNetworkAbstractions('Import all tokens detected'), () => {
2526 async ( ) => {
2627 await loginToApp ( ) ;
2728
28- await Assertions . expectElementToBeVisible ( WalletView . container ) ;
29+ await Assertions . checkIfVisible ( WalletView . container ) ;
2930 const eth = WalletView . tokenInWallet ( ETHEREUM_NAME ) ;
3031 const usdc = WalletView . tokenInWallet ( USDC_NAME ) ;
3132
32- await Assertions . expectElementToBeVisible ( eth ) ;
33- await Assertions . expectElementToBeVisible ( usdc ) ;
33+ await Assertions . checkIfVisible ( eth ) ;
34+ await Assertions . checkIfVisible ( usdc ) ;
3435 } ,
3536 ) ;
3637 } ) ;
0 commit comments