1123: Error message displayed when 403 returned from server
Test Case #: 1123
Test Case Name: Error message displayed when 403 returned from server | |
System: openLMIS | Subsystem: blue |
Test case designed by: Lucyna Laska | Design Date:23.11.2016 |
Short description: When the OpenLMIS server returns a 403 error (access forbidden) to the client, an error message stating the user doesn't have access is shown. This ticket is about the UI modal - not the error message being returned from the server. |
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 | Log in as administrator to UI and select the Requisitions→Create Authorize. |
|
|
2 | Select the proper program and show the details of requisition by selecting the PROCEED button. |
| |
3 | Remove all roles for the users using API. Method: PUT Body: { |
All roles has been removed successfully. |
|
4 | Try to submit requisition without assigned roles. | It's not possible. Error message: "You are not authorized to perform this action" is displayed. | Tested on Chrome and Firefox.
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
Post – conditions: |
OpenLMIS: the global initiative for powerful LMIS software