zcash-grant-system/e2e
AMStrix 968974d8d7 E2E - Web3 interaction & more tests (#202)
* account switching & setting gas for e2e web3

* e2e web3 interaction + new specs

* refund after payout spec

* use send instead of sendAsync + update ganache script cmd

* sign intercept + deterministic accounts

* add authentication to creation tests

* adjust cy.request call

* refactor + WIP fiddle with xhr

* xhook to modify incoming api requests
2018-11-21 21:20:09 -06:00
..
cypress E2E - Web3 interaction & more tests (#202) 2018-11-21 21:20:09 -06: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 E2E - Web3 interaction & more tests (#202) 2018-11-21 21:20:09 -06:00
package.json E2E - Web3 interaction & more tests (#202) 2018-11-21 21:20:09 -06:00
tsconfig.json Cypress e2e basics (#186) 2018-11-06 13:52:52 -05:00
yarn.lock E2E - Web3 interaction & more tests (#202) 2018-11-21 21:20:09 -06: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