bilhej/frontend/e2e
Joakim Mörling 0f34d29a2a test: add tracking entry vitest and e2e tests, fix pre-existing flaky tests
- AdminDashboard.spec.ts (+6 tests):
  - tracking input and save button visible in expanded row
  - PostNord link visible when trackingId is set
  - PostNord link hidden when trackingId is null
  - save button fires PATCH to correct URL
  - tracking error shown on failed save
- admin-dashboard.spec.ts (+4 tests):
  - tracking input and save button visible after row expand
  - PostNord link with postnord href visible for orders with tracking
  - PostNord link hidden for orders without tracking
  - fix row selector to use .last() for deterministic tracking check
    (compose test creates extra ABC123 order that shifts row order)
- compose.spec.ts: fix strict mode violation — getByText('ABC123')
  resolved to 2 elements (strong + preview paragraph) after admin
  test expanded an ABC123 row; use .first()
- order-history.spec.ts: fix strict mode violations — ABC123 and
  Levererat resolve to 2 elements due to compose test creating
  an extra ABC123 order with status changed to delivered; use
  .first() on affected assertions
2026-05-15 19:59:00 +02:00
..
admin-dashboard.spec.ts test: add tracking entry vitest and e2e tests, fix pre-existing flaky tests 2026-05-15 19:59:00 +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 test: add tracking entry vitest and e2e tests, fix pre-existing flaky tests 2026-05-15 19:59:00 +02:00
header-auth.spec.ts feat: add orders link to header nav for authenticated users 2026-05-14 15:31:06 +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 test: add tracking entry vitest and e2e tests, fix pre-existing flaky tests 2026-05-15 19:59:00 +02:00
register.spec.ts feat: add login page with Playwright E2E tests 2026-05-13 19:17:29 +02:00