815: Configure Total Losses / Adjustments in Requisition Template
Test Case #:815
| Test Case Name: Configure Total Losses / Adjustments in Requisition Template |
System: openLMIS | Subsystem: blue |
Test case designed by: Lucyna Laska | Design Date:02.11.2016 |
Short description: admins/implementers can add the adjustment attribute/column header to the requisition template — in other words, the /requisitionTemplates/ {id} PUT and /requisitionTemplates/ POST APIs let authorized admins add this column in the requisition template for a given program, see http://build.openlmis.org/job/OpenLMIS-requisition-service/lastSuccessfulBuild/artifact/build/resources/main/api-definition.html#panel_requisitionTemplates__id_ returns a requisition template with a "columnsMap", and presumably that returns columns with a name and displayOrder, so we want to make sure when "Total Losses / Adjustments" (D) is included in the template that it gets included properly in these columns returned |
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 | Add Total Losses/Adjustments to requisition template for given program. Method:PUT Body: { |
|
|
2 | Verify, if Total Losses and Adjustments appear in requisition Template. Method: GET | Total Lossess and Adjustments is contained in requsition template.
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
Post – conditions: |