Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Test Case #:284
| Test Case Name: UI for Total Stockout Days (X) requisition field
|
System: openLMIS
| Subsystem: blue |
Test case designed by: Lucyna Laska | Design Date:31.11.2016 |
Short description: - in the APIs for configuring a requisition template, this new field can be added into the requisition template (by an admin with permissions to configure the template for their program)
- if this field is NOT configured/associated to a requisition template, it does not appear on the requisition form
- the field can be configured with a display order that controls where it appears on the requisition
- in the APIs for initiating and saving a requisition, if this field is part of the template, then this field appears on the requisitions. Its display order should be based on the requisition template.
- this field allows a non-negative integer value (0,1,2,etc) to be provided by the user (API should validate and respond with a proper error if invalid)
- default value of the field is zero (zero stockout days); field is optional, meaning that the user can leave it zero and save/submit their requisition
| |
Step | Action | Expected system response | Comment |
Note: | Demo-data has been used during testing this ticket. |
|
|
1 | Find the ID of program with name: "Family Planing" | | |
2 | Find the ID of requisition template associated with program "Family Planing" |
|
|
3 | Verify, if field "Total Stockout Days" is configured in requisition template |
|
|
| Check, If field is available on requisition details. |
|
|
4 | Configure the display order for Total Stockout Days. |
|
|
5 | Disable the Total Stockout Days. |
|
|
6 | Check, If Total Stockout Days is disabled. |
|
|
7 | Check if Total Stockout Days is required. |
|
|
8 | Check if default value for Total Stockout Days is equal to 0. |
|
|
| Check if it's possible to submit requisition when Total Stockout Days is empty. |
|
|
| Check if field accept negative values. |
|
|