12 lines
331 B
TypeScript
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')
|
|
})
|
|
})
|