Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chloeYue committed Dec 2, 2024
1 parent fa83c55 commit 24ca1c3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/tests/multichain/asset-list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('Multichain Asset List', function (this: Suite) {
const assetListPage = new AssetListPage(driver);
await headerNavbar.clickSwitchNetworkDropDown();
await selectNetworkDialog.selectNetworkName(NETWORK_NAME_MAINNET);
await assetListPage.check_tokenItemNumber(2);
await assetListPage.check_tokenItemNumber(3);
await assetListPage.openNetworksFilter();
await assetListPage.clickCurrentNetworkOption();
await headerNavbar.clickSwitchNetworkDropDown();
Expand Down Expand Up @@ -80,7 +80,7 @@ describe('Multichain Asset List', function (this: Suite) {
const assetListPage = new AssetListPage(driver);
await headerNavbar.clickSwitchNetworkDropDown();
await selectNetworkDialog.selectNetworkName(NETWORK_NAME_MAINNET);
await assetListPage.check_tokenItemNumber(2);
await assetListPage.check_tokenItemNumber(3);
await driver.clickElement('.multichain-token-list-item');
const coinOverviewElement = await driver.findElement(
'[data-testid="coin-overview-buy"]',
Expand Down Expand Up @@ -113,7 +113,7 @@ describe('Multichain Asset List', function (this: Suite) {
await headerNavbar.clickSwitchNetworkDropDown();
await selectNetworkDialog.selectNetworkName(NETWORK_NAME_MAINNET);
const sendPage = new SendTokenPage(driver);
await assetListPage.check_tokenItemNumber(2);
await assetListPage.check_tokenItemNumber(4);
await assetListPage.clickOnAsset('TST');
await driver.clickElement('[data-testid="eth-overview-send"]');
await sendPage.check_networkChange(POLYGON_NAME_MAINNET);
Expand Down Expand Up @@ -147,7 +147,7 @@ describe('Multichain Asset List', function (this: Suite) {
const assetListPage = new AssetListPage(driver);
await headerNavbar.clickSwitchNetworkDropDown();
await selectNetworkDialog.selectNetworkName(NETWORK_NAME_MAINNET);
await assetListPage.check_tokenItemNumber(2);
await assetListPage.check_tokenItemNumber(4);
await assetListPage.clickOnAsset('TST');
await driver.clickElement('.mm-box > button:nth-of-type(3)');
const toastTextElement = await driver.findElement('.toast-text');
Expand Down Expand Up @@ -176,7 +176,7 @@ describe('Multichain Asset List', function (this: Suite) {
const selectNetworkDialog = new SelectNetwork(driver);
await headerNavbar.clickSwitchNetworkDropDown();
await selectNetworkDialog.selectNetworkName(LINEA_NAME_MAINNET);
await assetListPage.check_tokenItemNumber(2);
await assetListPage.check_tokenItemNumber(3);
await assetListPage.clickOnAsset('Ethereum');

const swapButton = await driver.findElement(
Expand Down

0 comments on commit 24ca1c3

Please sign in to comment.