1301: Admin UI to Configure Requisition Templates
Test Case #: 1301
Test Case Name: Admin UI to Configure Requisition Templates | |
System: openLMIS | Subsystem: blue |
Test case designed by: Lucyna Laska | Design Date:06.12.2016 |
Short description: As an implementor/admin, I want to configure the requisition template(s) for my program(s) with a user-friendly UI so that my RnRs will be set up right for each program. This ticket has sub-tasks to implement two new pages within the Requisition Ref UI. |
|
Pre – conditions: |
Step | Action | Expected system response | Comment |
1 | Assign User a role "MANAGE_REQUISITION_TEMPLATES". URL: http://10.222.17.134/api/users?access_token=1bdf13b8-ab12-48f4-b836-f0478fa1f34d Method: PUT Body: {
|
| Add right: URL: http://10.222.17.134/api/rights?access_token=c276478e-a668-43d6-b4cd-b68a8e2ef378 Method: PUT Body: { "id": "8816edba-b8a9-11e6-80f5-76304dec7eb7", "name": "MANAGE_REQUISITION_TEMPLATES", "type": "GENERAL_ADMIN", "attachments": [] }, Add role: URL: http://10.222.17.134/api/roles?access_token=c276478e-a668-43d6-b4cd-b68a8e2ef378 Method: POST Body: { "id": "a439c5de-b8aa-11e6-80f5-76304dec7eb7", "name": "Admin", "rights": [ { &qu |