2020-05-11 16:03:44 +03:00
|
|
|
describe('Pool', () => {
|
2020-06-30 20:51:20 +03:00
|
|
|
beforeEach(() => cy.visit('/#/pool'))
|
2020-05-11 16:03:44 +03:00
|
|
|
it('can search for a pool', () => {
|
|
|
|
cy.get('#join-pool-button').click()
|
2020-06-08 17:50:27 +03:00
|
|
|
cy.get('#token-search-input').type('DAI', { delay: 200 })
|
2020-05-11 16:03:44 +03:00
|
|
|
})
|
|
|
|
|
2020-05-23 19:06:16 +03:00
|
|
|
it('can import a pool', () => {
|
2020-05-11 16:03:44 +03:00
|
|
|
cy.get('#join-pool-button').click()
|
2020-05-23 19:06:16 +03:00
|
|
|
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')
|
|
|
|
})
|
|
|
|
})
|