bilhej/frontend/e2e
Hermes Agent d9aa2d60af
All checks were successful
CI / Lint, type check, unit tests, coverage (pull_request) Successful in 2m11s
CI / E2E browser tests (pull_request) Successful in 3m29s
fix(e2e): use unique plate in QR code test to avoid admin row collision
The new 'shows QR code for desktop scanning' E2E test used plate JKL012,
which is the same plate seeded as a processing order in the dev migrations
(V7__seed_processing_order.sql) and used by the admin dashboard/fulfillment
tests as PROCESSING_PLATE.

Because the E2E chromium (parallel) tests run before the chromium-serial
tests, the QR test created a second order with plate JKL012. When the serial
admin tests then searched for rows matching JKL012, Playwright's strict
mode found 2 matching rows and threw a strict mode violation.

This caused 4 test failures + 2 skipped tests:
- admin-dashboard: click row shows tracking section
- admin-dashboard: click row again collapses it
- admin-dashboard: expanded row shows tracking input and save button
- admin-fulfillment: can register shipment for processing order
- admin-fulfillment: can mark sent order as delivered (skipped)
- admin-fulfillment: can mark delivered order as failed then back to sent (skipped)

Changed the plate to QRA222 — not used in any seed data or other E2E test.
2026-06-19 14:04:26 +00:00
..
helpers Refactor admin fulfillment into focused modules. 2026-05-28 14:34:03 +02:00
account-settings.spec.ts Fix frontend tests after admin status error UX. 2026-05-27 13:00:28 +02:00
admin-dashboard.spec.ts Refactor admin fulfillment into focused modules. 2026-05-28 14:34:03 +02:00
admin-fulfillment.spec.ts Refactor admin fulfillment into focused modules. 2026-05-28 14:34:03 +02:00
auth-guards.spec.ts Log out users automatically when their JWT expires. 2026-06-17 12:43:31 +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 Refactor admin fulfillment into focused modules. 2026-05-28 14:34:03 +02:00
expired-token.spec.ts Log out users automatically when their JWT expires. 2026-06-17 12:43:31 +02:00
header-auth.spec.ts Log out users automatically when their JWT expires. 2026-06-17 12:43:31 +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 Add admin order fulfillment tracking. 2026-05-27 12:21:17 +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 fix(e2e): use unique plate in QR code test to avoid admin row collision 2026-06-19 14:04:26 +00: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