930: Configure Total Stockout Days
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:04.11.2016 |
Short description: FROM OLMIS-1211:
FROM OLMIS-1210:
|
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
Note: | Demo-data has been used during testing this ticket. In addition, UI was verified on Chrome and Firefox. | ||
1 | Find the ID of program with name: "Family Planing". URL: http://10.222.17.134/referencedata/api/programs?access_token=7f332b69-89af-4057-b3c4-502a59c4a2f6 Method: GET |
|
|
2 | Find the ID of requisition template associated with program "Family Planing". Method: GET | ||
3 | Verify through API, if field "Total Stockout Days" is configured in requisition template. | ||
4 | Check, If field is available on UI, on requisition details. | ||
5 | Configure the display order for Total Stockout Days using API. Change the current display order to 3. Method: PUT Body: { | ||
6 | Disable the Total Stockout Days using API. Set "isDisplayed" to false. URL; http://10.222.17.134/requisition/api/requisitionTemplates/ http://10.222.17.134/requisition/api/requisitionTemplates/search?program=dce17f2e-af3e-40ad-8e00-3496adef44c3&access_token=7f332b69-89af-4057-b3c4-502a59c4a2f6?access_token=7f332b69-89af-4057-b3c4-502a59c4a2f6 Method: PUT Body: { |
OpenLMIS: the global initiative for powerful LMIS software