15848e116c
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Peter deHaan <peter@deseloper.com> |
||
---|---|---|
.. | ||
pages/desktop | ||
regions | ||
tests | ||
utils | ||
Dockerfile.integration-test.yml | ||
README.md | ||
docker-compose.yml | ||
wdio.conf.js | ||
wdio.docker.js |
README.md
Firefox Monitor Integration tests
Prerequisites
- Docker
- Docker-Compose
- geckodriver
- npm
- nodejs
Firefox Setup
Make sure Firefox is in your system path if you want to watch the tests run inside your browser.
- Follow setup instructions here.
- Set appropriate ENV variables, HIBP_API_TOKEN, HIBP_KANON_API_TOKEN, MAILINATOR_PASSWORD
- Build and start the containers:
docker-compose -f tests/integration/docker-compose.yml up --build -d
. - Run the tests:
npm run test:integration
. They can also be run headlessly:npm run test:integration-headless
, and inside docker:npm run test:integration-docker
.