Skip to content

Commit

Permalink
test: remove commented-out asset ID checks in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nelitow committed Feb 7, 2025
1 parent aaf173f commit 07e2d99
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ test.describe('Forward and Mint Multicall', () => {
await hasText(walletNotificationPage, 'Unknown', 0, 5000, true);
// test mint asset id is shown
const assetId = calculateAssetId(MAIN_CONTRACT_ID, await getBaseAssetId());
// await hasText(walletNotificationPage, shortAddress(assetId));
// test mint amount is correct
await hasText(walletNotificationPage, `${formattedMintAMount} Unknown`);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ test.describe('Forward Custom Asset', () => {

// test asset id is correct
const assetId = calculateAssetId(MAIN_CONTRACT_ID, await getBaseAssetId());
// await hasText(walletNotificationPage, shortAddress(assetId));

// test forward custom asset amount is correct
await hasText(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ test.describe('Forward Half ETH and Mint External Custom Asset', () => {
EXTERNAL_CONTRACT_ID,
await getBaseAssetId()
);
// await hasText(walletNotificationPage, shortAddress(assetId));
// test mint amount is correct
await hasText(walletNotificationPage, `${formattedMintAmount} Unknown`);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ test.describe('Forward Half Custom Asset', () => {

// test the forward asset name is shown
await hasText(walletNotificationPage, 'Unknown', 0, 5000, true);
// test forward asset id is correct
// await hasText(walletNotificationPage, shortAddress(assetId));
// test forward custom asset amount is correct
await hasText(
walletNotificationPage,
Expand Down
2 changes: 0 additions & 2 deletions packages/e2e-contract-tests/playwright/e2e/MintAsset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ test.describe('Mint Assets', () => {
window.scrollTo(0, document.body.scrollHeight)
);

// await hasText(walletNotificationPage, name);
// await hasText(walletNotificationPage, shortAddress(assetId), 0, 10000);
// test mint amount is correct
await hasText(walletNotificationPage, `1.2345 ${symbol}`);

Expand Down

0 comments on commit 07e2d99

Please sign in to comment.