This project has tests for Web Payment portal that are using Cypress as test framework.
In order to work with project locally your development environment should have the following packages installed:
- node ^16.*
- npm ^6.*
npm install
npx cypress install
To verify Cypress installation:
npx cypress verify
Headless mode:
npx cypress run
or
npm run test
Headful mode:
npx cypress run --headed
To run dependent web service in a container and tests in docker in one go:
docker-compose up --abort-on-container-exit