From 22b8f89453371b8406e53effa82b7e3de745f19a Mon Sep 17 00:00:00 2001 From: Alexandr Kazachenko Date: Wed, 25 Dec 2024 16:24:17 +0500 Subject: [PATCH] chore: fix failed e2e test (#5257) --- apps/cowswap-frontend-e2e/src/e2e/swap.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/cowswap-frontend-e2e/src/e2e/swap.test.ts b/apps/cowswap-frontend-e2e/src/e2e/swap.test.ts index f799a523d2..b938f5f713 100644 --- a/apps/cowswap-frontend-e2e/src/e2e/swap.test.ts +++ b/apps/cowswap-frontend-e2e/src/e2e/swap.test.ts @@ -68,7 +68,7 @@ describe('Swap (custom)', () => { }) it('should accept buyAmount url param', () => { - cy.visit(`/#/${CHAIN_ID}/swap/${SELL_TOKEN}/${BUY_TOKEN}?buyAmount=0.5`) + cy.visit(`/#/${CHAIN_ID}/swap/${SELL_TOKEN}/${BUY_TOKEN}?buyAmount=0.5&orderKind=buy`) cy.get('#output-currency-input .token-amount-input').should('have.value', '0.5') })