22import { loginToApp } from '../../viewHelper' ;
33import { SmokeNetworkAbstractions } from '../../tags' ;
44import WalletView from '../../pages/wallet/WalletView' ;
5- import DetectedTokensView from '../../pages/wallet/DetectedTokensView' ;
6- import Assertions from '../../utils/Assertions' ;
5+ import Assertions from '../../framework/Assertions' ;
76import TestHelpers from '../../helpers' ;
8- import FixtureBuilder from '../../fixtures/fixture-builder ' ;
9- import { withFixtures } from '../../fixtures/fixture-helper ' ;
7+ import FixtureBuilder from '../../framework/ fixtures/FixtureBuilder ' ;
8+ import { withFixtures } from '../../framework/ fixtures/FixtureHelper ' ;
109
1110const ETHEREUM_NAME = 'Ethereum' ;
12- const USDC_NAME = 'USDC ' ;
11+ const USDC_NAME = 'USDCoin ' ;
1312
1413describe ( SmokeNetworkAbstractions ( 'Import all tokens detected' ) , ( ) => {
1514 beforeAll ( async ( ) => {
@@ -26,12 +25,12 @@ describe(SmokeNetworkAbstractions('Import all tokens detected'), () => {
2625 async ( ) => {
2726 await loginToApp ( ) ;
2827
29- await Assertions . checkIfVisible ( WalletView . container ) ;
28+ await Assertions . expectElementToBeVisible ( WalletView . container ) ;
3029 const eth = WalletView . tokenInWallet ( ETHEREUM_NAME ) ;
3130 const usdc = WalletView . tokenInWallet ( USDC_NAME ) ;
3231
33- await Assertions . checkIfVisible ( eth ) ;
34- await Assertions . checkIfVisible ( usdc ) ;
32+ await Assertions . expectElementToBeVisible ( eth ) ;
33+ await Assertions . expectElementToBeVisible ( usdc ) ;
3534 } ,
3635 ) ;
3736 } ) ;
0 commit comments