Skip to content

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

  1. Create item QR Regenerate Test and capture original QR UUID — Expected: QR decoded to item ID
  2. Click regenerate QR and confirm — Expected: New UUID issued
  3. Assert new UUID differs from original and still resolves to same item ID — Expected: Valid
  • Spec: tests/e2e/tests/storage.spec.ts