diff --git a/src/components/Widgets/Widget.tsx b/src/components/Widgets/Widget.tsx index 027fc2484..6e8f77e12 100644 --- a/src/components/Widgets/Widget.tsx +++ b/src/components/Widgets/Widget.tsx @@ -149,7 +149,7 @@ export function Widget({ }, bridges: { allow: configTheme?.allowedBridges, - deny: ['allbridge', 'hop', 'celerim', 'squid'], + deny: ['allbridge', 'celerim', 'squid'], }, exchanges: { allow: configTheme?.allowedExchanges, diff --git a/tests/swapActions.spec.ts b/tests/swapActions.spec.ts index 1482bf01f..2c0fdeac7 100644 --- a/tests/swapActions.spec.ts +++ b/tests/swapActions.spec.ts @@ -34,4 +34,19 @@ test.describe('On chain swaps', () => { await page.goto(`/${urlParams}`); await checkIfBestReturnLabelIsVisible(page); }); + + test(`Check ${chainData.ARBtoARB.ETHtoUSDT.tokenSymbol} to ${chainData.ARBtoARB.ETHtoUSDT.toTokenSymbol} swap pair on ARB chain`, async ({ + page, + }) => { + const urlParams = buildUlParams(chainData.ARBtoARB.ETHtoUSDT); + await page.goto(`/${urlParams}`); + await checkIfBestReturnLabelIsVisible(page); + }); + test(`Check ${chainData.ARBtoARB.USDCtoWBTC.tokenSymbol} to ${chainData.ARBtoARB.USDCtoWBTC.toTokenSymbol} swap pair on ARB chain`, async ({ + page, + }) => { + const urlParams = buildUlParams(chainData.ARBtoARB.USDCtoWBTC); + await page.goto(`/${urlParams}`); + await checkIfBestReturnLabelIsVisible(page); + }); }); diff --git a/tests/testData/chainData.json b/tests/testData/chainData.json index 52ca61dd9..3978f4893 100644 --- a/tests/testData/chainData.json +++ b/tests/testData/chainData.json @@ -29,5 +29,25 @@ "toToken": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", "toChain": "1" } + }, + "ARBtoARB":{ + "ETHtoUSDT":{ + "tokenSymbol":"ETH", + "fromToken":"0x0000000000000000000000000000000000000000", + "fromChain":"42161", + "amount":"1", + "toToken":"0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9", + "toTokenSymbol":"USDT", + "toChain":"42161" + }, + "USDCtoWBTC":{ + "tokenSymbol":"USDC", + "fromToken":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "fromChain":"42161", + "toToken":"0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f", + "toTokenSymbol":"WBTC", + "toChain":"42161", + "amount":"100" + } } }