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')
|
|
|
|
})
|
|
|
|
|
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')
|
|
|
|
})
|
|
|
|
})
|