As a storeroom manager, when I select a requisition that has status of "Not yet started", the requisition shows errors for all fields in the product grid (see attachment).
Expected behavior: The new requisition should not show any errors within the product grid until a user has entered data into a row and caused an error within a row.
NOTE: This ticket has been modified to create the same error message behavior through the entire UI
Acceptance Criteria
For forms that use tables to structure data input:
No error messages will be shown when a page first loads
Error messages in a table row will be shown when a user tabs or clicks outside of the table row
Error messages are shown immediately when a user attempts to submit a form
Once error messages are showing, they update immediately as a user edits them
The following pages comply to this behavior
Requisition product grid (fully supply and non-full supply)
Manage POD screen
Stock Management Physical Inventory
Stock Management Adjustments (note all other stock management screens reuse this screen's code)
Testing Criteria
On the changed pages mentioned above
Open the page, and verify there are not error messages showing
Create and/or click on a table row with no data entered, tab or click on another element in the same row, verify that no error messages are showing
Click or tab outside the table row, error message for invalid table cells should now be visible
Click on submit button for page, verify that all other possible error messages are showing
Tested but found two issues, these are linked in the test case ticket above
— I looked at OLMIS-2914, and don't understand where the problem is ... I don't see the "two issues" in the test and maybe I just don't know where to look?
This ticket is ready for QA again
I tested this again and it passed. Assigning back to you.
In the acceptance criteria we don't mention testing the "Receive" page, but I tested it and the dropdown selection doesn't show an error like all the other pages. But it does show an error on the page number, and has an error prompt when you try to submit. Let me know what you want to do with this.
— see it, fixed it
The error was for Recieved From field (or the assignment field) — the reasons dropdown doesn't show error messages there.... but apparently its not required....
Side question that I'll say and forget about — how can we show 'required' fields in tables?