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

18 lines
357 B
TypeScript
Raw Normal View History

2020-05-11 16:03:44 +03:00
describe('Pool', () => {
beforeEach(() => {
cy.visit('/pools').then(() => {
cy.wait('@eth_blockNumber')
})
})
it('add liquidity links to /add/ETH', () => {
cy.get('body').then(() => {
cy.get('#join-pool-button')
.click()
.then(() => {
cy.url().should('contain', '/add/ETH')
})
})
2020-05-11 16:03:44 +03:00
})
})