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

12 lines
323 B
TypeScript
Raw Normal View History

import { getTestSelector } from '../utils'
2020-05-11 16:03:44 +03:00
describe('Pool', () => {
2020-06-30 21:02:09 +03:00
beforeEach(() => cy.visit('/pool'))
it('add liquidity links to /add/ETH', () => {
cy.get(getTestSelector('FiatOnrampAnnouncement-close')).first().click()
2020-05-11 16:03:44 +03:00
cy.get('#join-pool-button').click()
cy.url().should('contain', '/add/ETH')
2020-05-11 16:03:44 +03:00
})
})