diff --git a/test/e2e/tests/swap-send/swap-send-erc20.spec.ts b/test/e2e/tests/swap-send/swap-send-erc20.spec.ts index 3e2fdc1f7b41..eb20ea18f42d 100644 --- a/test/e2e/tests/swap-send/swap-send-erc20.spec.ts +++ b/test/e2e/tests/swap-send/swap-send-erc20.spec.ts @@ -74,8 +74,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(); diff --git a/test/e2e/tests/swap-send/swap-send-eth.spec.ts b/test/e2e/tests/swap-send/swap-send-eth.spec.ts index f7835af0c332..c344057a7f45 100644 --- a/test/e2e/tests/swap-send/swap-send-eth.spec.ts +++ b/test/e2e/tests/swap-send/swap-send-eth.spec.ts @@ -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', ); await swapSendPage.submitSwap(); diff --git a/test/e2e/tests/swap-send/swap-send-test-utils.ts b/test/e2e/tests/swap-send/swap-send-test-utils.ts index 4140d6bb92be..94e4a8f0a0c9 100644 --- a/test/e2e/tests/swap-send/swap-send-test-utils.ts +++ b/test/e2e/tests/swap-send/swap-send-test-utils.ts @@ -2,7 +2,7 @@ import { strict as assert } from 'assert'; import { Mockttp } from 'mockttp'; import FixtureBuilder from '../../fixture-builder'; import { SWAPS_API_V2_BASE_URL } from '../../../../shared/constants/swaps'; -import { defaultGanacheOptions } from '../../helpers'; +import { generateGanacheOptions } from '../../helpers'; import { SMART_CONTRACTS } from '../../seeder/smart-contracts'; import { SWAP_SEND_QUOTES_RESPONSE_ETH_TST } from './mocks/eth-data'; @@ -297,7 +297,7 @@ export const getSwapSendFixtures = ( smartContract: SMART_CONTRACTS.HST, ethConversionInUsd: ETH_CONVERSION_RATE_USD, testSpecificMock: mockSwapsApi(swapsQuotes), - ganacheOptions: defaultGanacheOptions, + ganacheOptions: generateGanacheOptions({ hardfork: 'london' }), title, }; };