- GitHub Links
Automated Tests
We use Playwright for writing automated end to end (e2e) tests.
Dev environment variations
Gitpod: Skip to step 3
Docker: Start docker for mongo only with the command docker compose -f mongo-compose.yml up then continue in a second terminal window with steps 1-3.
- Install dependencies with
npm ci - Install Playwright dependencies
npx playwright install --with-deps - Run tests
npm run test(Note: if you would like to run a single test, include the name of the file in your commandnpm run test my-test.js
npm run test
> [email protected] test
> npx playwright test
Running 18 tests using 4 workers
10 skipped
8 passed (13s)
To open last HTML report run:
npx playwright show-report