968974d8d7
* 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 |
||
---|---|---|
.. | ||
cypress | ||
.gitignore | ||
README.md | ||
cypress.json | ||
package.json | ||
tsconfig.json | ||
yarn.lock |
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
- Make sure you have a working development environment running (backend, ganache & frontend).
- Run the cypress client:
yarn cypress:open
- The cypress UI will open, select a test to run it.
CI
TODO