docker compose --profile test builddocker compose up nextappRun Jest tests locally:
cd frontend && npm testRun full E2E tests with backend and database orchestrated together:
npm run test:e2eOr from the frontend directory:
docker compose --profile test up frontend-test --abort-on-container-exitClean up containers after testing:
npm run test:e2e:downNote: The E2E test service automatically handles:
- Starting the PostgreSQL database
- Starting the backend API server
- Waiting for services to be healthy before running tests
- Using internal container networking (backend at
http://goapp:8000)