424: Supervisory nodes

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:

Pre – conditions:

1.

                                                                                                                                                                                                                           Step

 

Action

Expected system response

Comment

1

                                         

Create geographicZones

Method: Post:

Body:

{

"code":"GeoZon",

}

Status 201 Created, 

                                                 

2

Create facilityTypes

Method: Post:

Body:

{

"code":"facilityT"

}

Status 201 Created,

 

3

Create facility

Method: Post:

Body:

{

"code":"facilities",

"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