uniswap-interface-uncensored/cypress/integration/no-connect.ts
Moody Salem 28b24036c6
Cypress (#734)
* Add some basic integration tests and CI in GitHub

* Add push trigger

* Add badge for tests to readme

* Unit tests

* Just use the development infura URL in the tests

* Remove unused webpack config

* Make integration test run on the same port as yarn start

* make test a little bit better

* rename describe
2020-05-08 11:38:33 -04:00

18 lines
406 B
TypeScript

describe('Homepage', () => {
beforeEach(() => cy.visit('/'))
it('loads exchange page', () => {
cy.get('#exchangePage')
})
it('has url /swap', () => {
cy.url().should('include', '/swap')
})
it('can enter an amount into input', () => {
cy.get('#swapInputField').type('0.001')
})
it('can enter an amount into output', () => {
cy.get('#swapOutputField').type('0.001')
})
})