700: Identify facilities that do not have access to OpenLMIS
Test Case #:700
Test Case Name: Identify facilities that do not have access to OpenLMIS | |
System: OpenLMIS | Subsystem: requisition |
Test case designed by: Lucyna Kwidzińska | Design Date:18.07.2016 |
Short description: Be able to denote what facilities do not have access to OpenLMIS so that the appropriate business process is used |
|
Pre – conditions: |
Step | Action | Expected system response | Comment |
1 | Create GeographicLevel. Method: POST Example Body: { "code": "facilityaccesstest", "name": "facilitynameaccess", "levelNumber": "1107" } | Status: 201 created,
geographicLevel id: " af36acc57cda "
| |
2 | Create GeographicZone. Method: POST Example Body: { "code": "zoneaccesscode", "name": "zoneaccessname", af36acc57cda" } | Status: 201 created,
geographicZone id: " |
|
3 | Create FacilityType. Method: POST Example Body: { "code": "accesscode123", "name": "accessname123", "description": "abcaccesstest" } | Status: 201 created,
facilityType id: " b9428f046d33" |
|
4 | Create Facility entity. Method: POST Example Body: { "code": "accesscode098", "name": "accessname098", "description": "testdescription", "geographicZone": "http://localhost:8080/api/geographicZones/443ae76c-3381- 4502-bb7f-841bf312dc95", b9428f046d33", "active": "true", "enabled": "true", "openLmisAccessAbility": "true" } | Status: 201 created,
facility id: " |
|
5 | Change the openLmisAccessAbility value. Method: POST Example Body: { "id": "6cd80867-cf5b-4c67-a246-068705b317a8", "code": "accesscode098", "name": "accessname098", "description": "testdescription", "geographicZone": "http://localhost:8080/api/geographicZones/443ae76c-3381- 4502-bb7f-841bf312dc95", b9428f046d33", "active": "true", "enabled": "true", "openLmisAccessAbility": "false" } | The openLmisAccessAbility value should be modified. | |
6 |
| ||
7 |
| ||
8 |
|
Post – conditions: |
Status: 201 created,
OpenLMIS: the global initiative for powerful LMIS software