Feature #4159
closedFeature #4154: Inventory Actuals Capture
Feature #4155: User Story: Enter Actual Inventory
Test this User Story: Enter Actual Inventory
0%
Subtasks
Related issues
Updated by Yalavarthi Thriveni 2 months ago
Tester QA Test Cases
Field Staff
Basic Input Validation
Try entering negative qty → expect error popup.
Enter actual > planned without reason → expect error.
Enter actual > planned with reason → expect success.
Labour Hours
Enter planned = 8, actual = 9 without remarks → expect error.
Enter planned = 8, actual = 9 with remarks → expect success.
Draft Save
Enter partial data, save draft, log out → log back in, confirm draft loads.
Attachment Handling
Upload .jpg < 10MB → success.
Upload .exe → expect rejection.
Upload .pdf > 10MB → expect rejection.
Submit Flow
After submit, verify notification appears in Admin’s inbox.
Confirm draft moves to submitted status.
Admin
Preview Screen
Open submitted job → verify planned vs actual table displayed.
Confirm variances highlighted (e.g., +2 red, -1 green).
Confirm attachments are visible/downloadable.
Access Control
Attempt to edit field staff draft → ensure UI prevents editing.
Confirm only revise flow later allows edits.
Audit History
Open history tab → confirm actions “Under review” and “Submitted” appear with correct user info.