424: Supervisory nodes
Test Case #:424 | Test Case Name:Supervisory nodes |
System: OpenLMIS | Subsystem:requisition |
Test case designed by: Paulina Borowa | Design Date:15.07.2016 |
Short description: Allows addition of new and editing of existing supervisory nodes |
|
Pre – conditions: |
|---|
1. |
Step
| Action | Expected system response | Comment |
1 |
Create geographicZones Method: Post: Body: { "code":"GeoZon", } | Status 201 Created, geographicZones id: "http://localhost:8080/api/geographicZones/98080987-7f3f-4ce1-972d-30b2f60c4e40" |
|
2 | Create facilityTypes Method: Post: Body: { "code":"facilityT" } | Status 201 Created, facilityTypes id: "http://localhost:8080/api/facilityTypes/726c7d30-eeb6-4440-9cc2-29ce4f55741e" |
|
3 | Create facility Method: Post: Body: { "code":"facilities", "geographicZone":"http://localhost:8080/api/geographicZones/98080987-7f3f-4ce1-972d-30b2f60c4e40", "active":true, "enabled":false } | Status 201 Created, |
|
4 | Allowed addition of new supervisory nodes. Method: Post: Body: { "code":"SupNod", "name":"SN", "supervisorCount":"2", } | Status 201 Created, supervisory nodes id:"b2655d59-5fb7-4069-adca-a5d09f899f34" |
|
5 | Editing of existing supervisory nodes Method: Post: Body: { "id":"b2655d59-5fb7-4069-adca-a5d09f899f34", "code":"SupNod2", "name":"SN2", "supervisorCount":"12", } |
|
OpenLMIS: the global initiative for powerful LMIS software