mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-15 07:17:00 +10:00
4b2d3289b9
Co-authored-by: Amruth Pillai <im.amruth@gmail.com>
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
# E2E Tests
|
|
|
|
Reactive Resume uses Playwright for PR-gated browser coverage of deterministic core flows.
|
|
|
|
## Local setup
|
|
|
|
Start PostgreSQL:
|
|
|
|
`sudo docker compose -f compose.dev.yml up -d postgres`
|
|
|
|
Build the production app:
|
|
|
|
`APP_URL=http://localhost:3000 PORT=3000 DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres AUTH_SECRET=e2e-test-secret FLAG_DISABLE_SIGNUPS=false FLAG_DISABLE_EMAIL_AUTH=false FLAG_DISABLE_API_RATE_LIMIT=true LOCAL_STORAGE_PATH=/workspace/data/e2e pnpm build`
|
|
|
|
Run tests:
|
|
|
|
`APP_URL=http://localhost:3000 PORT=3000 DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres AUTH_SECRET=e2e-test-secret FLAG_DISABLE_SIGNUPS=false FLAG_DISABLE_EMAIL_AUTH=false FLAG_DISABLE_API_RATE_LIMIT=true LOCAL_STORAGE_PATH=/workspace/data/e2e pnpm test:e2e`
|
|
|
|
## Coverage
|
|
|
|
- Email/password auth smoke.
|
|
- Dashboard sample resume creation.
|
|
- Builder basics edit and autosave persistence.
|
|
- JSON export/import.
|
|
- Public sharing for anonymous visitors.
|
|
|
|
PDF, DOCX, OAuth, passkeys, 2FA, password reset, and AI flows are intentionally outside the initial PR gate.
|