diff --git a/e2e/serial/swap/1_swapFlow1.test.ts b/e2e/serial/swap/1_swapFlow1.test.ts index d31b8471c5..ad28107fac 100644 --- a/e2e/serial/swap/1_swapFlow1.test.ts +++ b/e2e/serial/swap/1_swapFlow1.test.ts @@ -474,25 +474,15 @@ it('should be able to open remove token to buy and check favorites and verified }); it('should be able to favorite a token and check the info button is present', async () => { - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ZEROX_MAINNET_ID}-verified-token-to-buy-row-favorite-button`, - driver, - }); await delayTime('short'); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ZEROX_MAINNET_ID}-favorites-token-to-buy-row-info-button`, + id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-favorites-token-to-buy-row-info-button`, driver, }); await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ZEROX_MAINNET_ID}-favorites-token-to-buy-row-info-button-copy`, + id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-favorites-token-to-buy-row-info-button-copy`, driver, }); - if (isFirefox) { - await findElementByTestIdAndClick({ - id: `${SWAP_VARIABLES.ZEROX_MAINNET_ID}-token-to-buy-token-input-remove`, - driver, - }); - } await findElementByTestIdAndClick({ id: `${SWAP_VARIABLES.WBTC_MAINNET_ID}-favorites-token-to-buy-row`, driver, diff --git a/e2e/walletVariables.ts b/e2e/walletVariables.ts index 6de5eadede..9412fd5fac 100644 --- a/e2e/walletVariables.ts +++ b/e2e/walletVariables.ts @@ -49,6 +49,7 @@ export const SWAP_VARIABLES = { USDC_MAINNET_ADDRESS: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', WBTC_MAINNET_ID: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599_1', ZEROX_MAINNET_ID: '0xe41d2489571d322189246dafa5ebde1f4699f498_1', + REKT_MAINNET_ID: '0x4f8b986ecffe7bed5dbeb2b49310fb00ca85a539_1', }; export const HARDWARE_WALLETS = { diff --git a/src/core/network/tokenSearch.ts b/src/core/network/tokenSearch.ts index d4a8fd5a4e..fec95b3225 100644 --- a/src/core/network/tokenSearch.ts +++ b/src/core/network/tokenSearch.ts @@ -1,6 +1,6 @@ import { createHttpClient } from './internal/createHttpClient'; export const tokenSearchHttp = createHttpClient({ - baseUrl: 'https://token-search.rainbow.me/v2', + baseUrl: 'https://token-search.rainbow.me/v3/tokens', params: {}, });