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

14 lines
419 B
TypeScript
Raw Normal View History

2020-05-11 16:03:44 +03:00
describe('Pool', () => {
beforeEach(() => cy.visit('/pool'))
it('can search for a pool', () => {
cy.get('#join-pool-button').click()
cy.get('#token-search-input').type('DAI')
})
it('can import a pool', () => {
2020-05-11 16:03:44 +03:00
cy.get('#join-pool-button').click()
cy.get('#import-pool-link').click({ force: true }) // blocked by the grid element in the search box
2020-05-11 16:03:44 +03:00
cy.url().should('include', '/find')
})
})