bilhej/frontend/e2e
Joakim Mörling 32b315654e feat: add order history page with API endpoint and seeded test data
- Create OrderController with GET /api/orders endpoint (authenticated)
- Add OrderResponse DTO (id, plate, template, status, trackingId, createdAt)
- Seed 3 test orders for test@bilhalsning.se via V6 migration (sent, pending_payment, delivered)
- Create OrderControllerTest with 4 tests (auth, empty list, full fields, user not found)
- Create frontend api/orders.ts with typed fetchOrders() client
- Build out OrdersPage.vue with card list: plate, template, status badge, tracking link
- Add 12 Vitest tests for OrdersPage (loading, data, badges, links, empty, error)
- Add 5 Playwright E2E tests (auth guard, seeded data, badges, tracking, templates)
2026-05-14 15:30:36 +02:00
..
auth-guards.spec.ts feat: add Vue Router auth guards with admin role support 2026-05-14 12:39:17 +02:00
header-auth.spec.ts feat: show auth state in header with conditional nav links 2026-05-14 13:11:11 +02:00
login.spec.ts feat: add Vue Router auth guards with admin role support 2026-05-14 12:39:17 +02:00
order-history.spec.ts feat: add order history page with API endpoint and seeded test data 2026-05-14 15:30:36 +02:00
register.spec.ts feat: add login page with Playwright E2E tests 2026-05-13 19:17:29 +02:00