Getting started
Codebase
For testing, Impactville uses Cypress for end-to-end testing. The automated test codes are located at /tests
Installing
cd tests
npm installEnvironments
Testing can be made in two different environments:
- Staging website, i.e. beta.impactville.com
- Local website, i.e. localhost:4200
For testing in the staging website run
npm run start:siteFor testing using local development environment, run
npm startUtility
There are built-in commands and functions specific to Impactville's architecture, you can refer to their documentation here.
Writing tests
For writing tests, you can refer to Cypress Official Documentation.