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": [ { "id": "8816edba-b8a9-11e6-80f5-76304dec7eb7", "name": "MANAGE_REQUISITION_TEMPLATES", "type": "GENERAL_ADMIN", "attachments": [] } ] }, |
2 | Log into UI and check if configuring the requisition templates for programs is possible. | The Edit links should be visible. | |
3 | Log in as user with no permissions for configuring the requisition templates. | The Administration menu is hidden. | |
4 | Log in as a user with proper permission for configuring the requisition templates. | The Administration option in menu is available. | |
5 | Check If Display checkbox for Product can be unselected. | The checkbox display for Product can't be unselected. | |
6 | Check If displaying order can be changed for Product and Product Code. | Unfortunately, the order display for those columns can't be changed | |
7 | Check if changing display order for other fields is possible. | At the beginning, Total Losses And Adjustments is placed above the Stock on Hand. I tried to drag and drop the column into a different order. Now, Total Losses And Adjustments is places above the Total Consumed Quantity. Changes will be saved properly. | |
8 | Check if changing the label name is possible. | Yes, It's possible to rename the label. | |
9 | Check if clicking the Change link navigate back to the previous screen listing all programs. | After clicking into Change link user is redirects to main requisition template view. | |
10 | select the USER INPUT in source from drop-down list, unselect the display checkbox. | When user tries to unselect the checkbox display, the proper message will be shown: "Should be displayed if source is USER INPUT". | |
11 | Select the empty value in source from drop-down list. Try to save the requisition template. | The Saving is not possible. SAVE button is inactive and proper message is displayed. | |
12 | Try to uncheck the display order when source is USER INPUT (not selected in drop-down list). Try to save the ticket. | Saving is possible. | |
13 | Try to select CALCULATED source from drop-down list for Stock on Hand and TCQ. | That situation is not possible. Both fields can't be set to CALCULATED. |
Post – conditions: |
OpenLMIS: the global initiative for powerful LMIS software