22 lines
473 B
TypeScript
22 lines
473 B
TypeScript
|
describe('Landing Page', () => {
|
||
|
beforeEach(() => cy.visit('/'))
|
||
|
|
||
|
it('loads exchange page', () => {
|
||
|
cy.get('#exchangePage')
|
||
|
})
|
||
|
|
||
|
it('redirects to url /swap', () => {
|
||
|
cy.url().should('include', '/swap')
|
||
|
})
|
||
|
|
||
|
it('allows navigation to send', () => {
|
||
|
cy.get('#send-navLink').click()
|
||
|
cy.url().should('include', '/send')
|
||
|
})
|
||
|
|
||
|
it('allows navigation to pool', () => {
|
||
|
cy.get('#pool-navLink').click()
|
||
|
cy.url().should('include', '/pool')
|
||
|
})
|
||
|
})
|