Skip to content

Commit d371ee8

Browse files
fix: fixes the network expansion tests
1 parent 0ef5a5d commit d371ee8

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

e2e/specs/assets/token-detection-import-all.spec.js renamed to e2e/specs/assets/token-detection-import-all.spec.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
import { loginToApp } from '../../viewHelper';
33
import { SmokeNetworkAbstractions } from '../../tags';
44
import WalletView from '../../pages/wallet/WalletView';
5-
import DetectedTokensView from '../../pages/wallet/DetectedTokensView';
6-
import Assertions from '../../utils/Assertions';
5+
import Assertions from '../../framework/Assertions';
76
import 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

1110
const ETHEREUM_NAME = 'Ethereum';
12-
const USDC_NAME = 'USDC';
11+
const USDC_NAME = 'USDCoin';
1312

1413
describe(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

Comments
 (0)