uniswap-interface-uncensored/cypress/e2e/send.test.ts

12 lines
331 B
TypeScript
Raw Normal View History

2020-05-11 16:03:44 +03:00
describe('Send', () => {
it('should redirect', () => {
cy.visit('/send')
cy.url().should('include', '/swap')
2020-05-11 16:03:44 +03:00
})
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')
})
2020-05-11 16:03:44 +03:00
})