Skip to content

Commit

Permalink
fix: swap+send e2e tests (#25275)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrans authored and micaelae committed Jun 15, 2024
1 parent 71358da commit b57509b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/e2e/tests/swap-send/swap-send-erc20.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ describe('Swap-Send ERC20', function () {

await swapSendPage.verifyQuoteDisplay(
'1 TST = 0.000002634 ETH',
'879687 ETH',
'≈ $2,647,857,870.00',
'0.0075669 ETH',
'≈ $22.78',
);

await swapSendPage.submitSwap();
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/tests/swap-send/swap-send-eth.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ describe('Swap-Send ETH', function () {

await swapSendPage.verifyQuoteDisplay(
'1 ETH = 301075.4807 TST',
'1500000 ETH', // TODO this looks weird
'≈ $4,515,000,000.00',
'0.0129028 ETH',
'≈ $38.84',
);

// TODO assert swap api request payload
Expand Down Expand Up @@ -116,7 +116,7 @@ describe('Swap-Send ETH', function () {

await swapSendPage.verifyMaxButtonClick(
['ETH', 'ETH'],
['24.995559472', '24.995559472'],
['24.9970184730279925', '24.9970184730279925'],
);
},
);
Expand Down

0 comments on commit b57509b

Please sign in to comment.