zcash-grant-system/e2e
AMStrix 4891a83450 Cypress e2e basics (#186)
* cypress e2e with a couple tests

* add createCrowdFund helper function for future use
2018-11-06 13:52:52 -05:00
..
cypress Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00
.gitignore Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00
README.md Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00
cypress.json Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00
package.json Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00
tsconfig.json Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00
yarn.lock Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00

README.md

Grant.io end to end testing

Installation

yarn

Writing tests

Tests can be found in cypress/integration. Cypress will hot-reload open tests as you develop. Documentation on cypress testing can be found here.

Development

  1. Make sure you have a working development environment running (backend, ganache & frontend).
  2. Run the cypress client:
    yarn cypress:open
    
  3. The cypress UI will open, select a test to run it.

CI

TODO