099 — QR regenerate creates new UUID pointing to same item¶
Description¶
Regenerating the QR code produces a new UUID that still resolves to the same storage item ID.
Preconditions¶
- Clean database
- User logged in with ADMIN and WAREHOUSEMAN roles
- Three storage categories pre-created (Nářadí, Materiál, Ochranné pomůcky)
Steps¶
- Create item
QR Regenerate Testand capture original QR UUID — Expected: QR decoded to item ID - Click regenerate QR and confirm — Expected: New UUID issued
- Assert new UUID differs from original and still resolves to same item ID — Expected: Valid
Related¶
- Spec:
tests/e2e/tests/storage.spec.ts