Skip to content

Test cases: Admin inventory & suppliers

VersionDate (UTC)Summary
1.0.02026-05-13Initial sheet — admin inventory routes + suppliers

  • App: apps/admin-webADMIN_ROUTES.inventory.*, ADMIN_ROUTES.suppliers.* (legacy warehouse redirects covered).
  • Parallels: Vendor inventory for field-level behaviour; admin UI uses platform / zone visibility rules (Admin backend).
  • Not in this sheet: master catalog products (Admin catalog & products).

IDClassScenarioAutomation
TC-AIS-001HappyWarehouses list: pagination, search, zone/store filters as implementedE2E*
TC-AIS-002HappyWarehouse detail loads lines + metadataE2E*
TC-AIS-003UnhappyWarehouse out of admin zone → 403 or empty list per product rulesE2E*
TC-AIS-004UnhappyDelete warehouse when stock exists → guard message (soft-delete era)E2E*
IDClassScenarioAutomation
TC-AIS-010HappyStocks list: filters, sort, paginationE2E*
TC-AIS-011HappyStock detail shows movements / breakdownE2E*
TC-AIS-012HappyLots list: expiry / quantity columns; link to detailE2E*
TC-AIS-013HappyLot detail edit path (if enabled) validates quantitiesE2E*
TC-AIS-014UnhappyLot adjustment conflicts optimistic lock → user-visible errorE2E*
IDClassScenarioAutomation
TC-AIS-020HappyAdjustments list + status filtersE2E*
TC-AIS-021HappyAdjustment detail shows lines + audit trailE2E*
TC-AIS-022UnhappyApprove/reject illegal state transition → API error surfacedE2E*
IDClassScenarioAutomation
TC-AIS-030HappySuppliers list search + paginationE2E*
TC-AIS-031HappySupplier detail: contacts, notes, linked vendors if shownE2E*
TC-AIS-032UnhappyDelete supplier referenced by PO/product → blocked with reasonE2E*

  • New admin inventory endpoints mirrored from vendor Nest modules get rows here first
  • Soft-delete list filters (includeDeleted / tab) documented when UI adds them
  • Legacy /warehouses redirects in apps/admin-web/src/routes/app-router.tsx smoke-tested once per release

Parent index: System test cases (index)