uniswap-interface-uncensored/cypress/e2e/send.test.ts
2023-03-06 10:14:26 -08:00

12 lines
331 B
TypeScript

describe('Send', () => {
it('should redirect', () => {
cy.visit('/send')
cy.url().should('include', '/swap')
})
it('should redirect with url params', () => {
cy.visit('/send?outputCurrency=ETH&recipient=bob.argent.xyz')
cy.url().should('contain', '/swap?outputCurrency=ETH&recipient=bob.argent.xyz')
})
})