bilhej/frontend/src/__tests__
Joakim Mörling 96508d63cd feat: add template picker modal to compose page
- Add LetterTemplate.icon field and 7th template 'Mindre parkeringsskada' (🅿️)
- Create TemplatePicker.vue component: modal overlay with 2-column card grid,
  emits 'select' and 'close' events, closes on overlay click
- Add ' Visa mallar' pill button above textarea in ComposePage
- Clicking button opens TemplatePicker modal, selecting a template fills
  textarea and closes modal
- Style button as pill/badge with light blue background and icon
- Add 7 Vitest tests for TemplatePicker (renders cards, emits events, close
  behavior, parking damage template)
- Add 4 Vitest tests for ComposePage template picker integration
- Add 2 Playwright E2E tests (opens picker, fills textarea and closes)
2026-05-14 17:39:21 +02:00
..
AboutPage.spec.ts feat: add app shell with header, footer, and compose flow 2026-05-01 18:19:53 +02:00
App.spec.ts feat: show auth state in header with conditional nav links 2026-05-14 13:11:11 +02:00
AppFooter.spec.ts feat: add app shell with header, footer, and compose flow 2026-05-01 18:19:53 +02:00
AppHeader.spec.ts refactor: remove template from order flow 2026-05-14 16:55:59 +02:00
authStore.spec.ts feat: show auth state in header with conditional nav links 2026-05-14 13:11:11 +02:00
ComposePage.spec.ts feat: add template picker modal to compose page 2026-05-14 17:39:21 +02:00
ContactPage.spec.ts feat: add app shell with header, footer, and compose flow 2026-05-01 18:19:53 +02:00
HomePage.spec.ts feat: add app shell with header, footer, and compose flow 2026-05-01 18:19:53 +02:00
LoginPage.spec.ts feat: add Vue Router auth guards with admin role support 2026-05-14 12:39:17 +02:00
OrdersPage.spec.ts refactor: remove template from order flow 2026-05-14 16:55:59 +02:00
PlateInput.spec.ts feat: add PlateInput component with Swedish plate validation and fake vehicle lookup 2026-05-01 17:38:28 +02:00
RegisterPage.spec.ts feat: add user registration flow (backend + frontend) 2026-05-01 19:37:39 +02:00
Router.spec.ts refactor: remove template from order flow 2026-05-14 16:55:59 +02:00
setup.ts feat: add user registration flow (backend + frontend) 2026-05-01 19:37:39 +02:00
Store.spec.ts feat: add PlateInput component with Swedish plate validation and fake vehicle lookup 2026-05-01 17:38:28 +02:00
TemplatePicker.spec.ts feat: add template picker modal to compose page 2026-05-14 17:39:21 +02:00
VehicleInfo.spec.ts feat: extract VehicleInfo component from HomePage 2026-05-01 18:06:04 +02:00