bilhej/frontend/e2e
Joakim Mörling 86fb946e33
All checks were successful
CI / Lint, type check, unit tests, coverage (push) Successful in 2m2s
CI / E2E browser tests (push) Successful in 1m55s
Add password reset, logged-in change password, and Mailpit email dev/E2E.
Operators can fix prod admin passwords without email via Byt lösenord;
end users can use forgot-password when SMTP is configured. Local and CI
use Mailpit to capture outbound mail and verify reset links end-to-end.

- Backend: V8 password_reset_tokens, PasswordResetService, EmailService,
  POST /api/auth/forgot-password, reset-password, change-password
- Optional testToken in forgot-password response (docker profile only, for E2E)
- Frontend: ForgotPasswordPage, ResetPasswordPage, ChangePasswordPage,
  routes, login link, header Byt lösenord
- Mailpit (ghcr.io/axllent/mailpit:v1.28) in docker-compose + e2e stack
- E2E: password-reset.spec.ts + Mailpit API helper tests SMTP delivery
- Separate dev/e2e Docker image names to avoid overwriting bilhej-frontend
- Docs: README email section, production-email-checklist, .env.example
- Unit/integration tests for reset, change password, and Vitest page specs

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-21 18:05:15 +02:00
..
helpers Add password reset, logged-in change password, and Mailpit email dev/E2E. 2026-05-21 18:05:15 +02:00
admin-dashboard.spec.ts Fix admin dashboard e2e tests for updated UI selectors. 2026-05-21 15:41:03 +02:00
auth-guards.spec.ts feat: add Vue Router auth guards with admin role support 2026-05-14 12:39:17 +02:00
compose.spec.ts Use bilhej.se domain for dev test user email. 2026-05-21 15:14:11 +02:00
deferred-payment-admin.spec.ts Use bilhej.se domain for dev test user email. 2026-05-21 15:14:11 +02:00
header-auth.spec.ts Use bilhej.se domain for dev test user email. 2026-05-21 15:14:11 +02:00
login.spec.ts Use bilhej.se domain for dev test user email. 2026-05-21 15:14:11 +02:00
order-history.spec.ts Use bilhej.se domain for dev test user email. 2026-05-21 15:14:11 +02:00
password-reset.spec.ts Add password reset, logged-in change password, and Mailpit email dev/E2E. 2026-05-21 18:05:15 +02:00
payment-redirect.spec.ts Use bilhej.se domain for dev test user email. 2026-05-21 15:14:11 +02:00
register.spec.ts feat: add login page with Playwright E2E tests 2026-05-13 19:17:29 +02:00
vehicle-lookup.spec.ts Use bilhej.se domain for dev test user email. 2026-05-21 15:14:11 +02:00