This project includes end-to-end tests using Playwright.
- Node.js (LTS)
- Project dependencies installed
npm ci
npx playwright installnpx playwright testnpx playwright test --uinpx playwright show-reportCreate a .env file in the root:
BASE_URL=http://localhost:5173
API_URL=http://localhost:3000Make sure backend and database are running:
docker-compose up
npx playwright testTests run automatically on:
- push to main/master
- pull requests
Workflow:
- Installs dependencies
- Installs Playwright browsers
- Runs tests in Ubuntu environment
- Uploads HTML report as artifact