Skip to content

Commit

Permalink
test: update e2e tests to display "Unknown" for asset symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
nelitow committed Feb 5, 2025
1 parent 9624ab8 commit 0903bb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ test.describe('Forward and Mint Multicall', () => {
const assetId = calculateAssetId(MAIN_CONTRACT_ID, await getBaseAssetId());
// await hasText(walletNotificationPage, shortAddress(assetId));
// test mint amount is correct
await hasText(walletNotificationPage, formattedMintAMount);
await hasText(walletNotificationPage, `${formattedMintAMount} Unknown`);

// test gas fee is shown and correct
await hasText(walletNotificationPage, 'Fee (network)');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ test.describe('Forward Custom Asset', () => {
// await hasText(walletNotificationPage, shortAddress(assetId));

// test forward custom asset amount is correct
await hasText(walletNotificationPage, formattedForwardCustomAssetAmount);
await hasText(
walletNotificationPage,
`${formattedForwardCustomAssetAmount} Unknown`
);

// test gas fee is correct
await hasText(walletNotificationPage, 'Fee (network)');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ test.describe('Forward Half ETH and Mint External Custom Asset', () => {
);
// await hasText(walletNotificationPage, shortAddress(assetId));
// test mint amount is correct
await hasText(walletNotificationPage, formattedMintAmount);
await hasText(walletNotificationPage, `${formattedMintAmount} Unknown`);

// test gas fee is shown and correct
await hasText(walletNotificationPage, 'Fee (network)');
Expand Down

0 comments on commit 0903bb9

Please sign in to comment.