Skip to content

104 — Create temporary storage and add items to it

Description

Adds multiple items to a temporary storage; verifies items visible in storage grid but warehouse stock and movement grids are unaffected.

Preconditions

  • Clean database
  • User logged in with ADMIN and WAREHOUSEMAN roles
  • Three storage categories pre-created (Nářadí, Materiál, Ochranné pomůcky)
  • Storage items and contract pre-created via API (per scenario)

Steps

  1. Create temporary storage for contract — Expected: Storage ready
  2. Add two items (qty 5 and 10) — Expected: Both appear in storage grid
  3. Check Items grid — Expected: Both items still qty 0 — stock unaffected
  4. Check Bulk Movements and Movements grids — Expected: Both empty — no movements
  • Spec: tests/e2e/tests/storage.spec.ts