Skip to content

Commit

Permalink
chore: fix failed e2e test (#5257)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 authored Dec 25, 2024
1 parent 8db5986 commit 22b8f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cowswap-frontend-e2e/src/e2e/swap.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})

Expand Down

0 comments on commit 22b8f89

Please sign in to comment.