906: Password email notification
Test Case #:906 | Test Case Name: Password email notification |
System: OpenLMIS | Subsystem: requisition |
Test case designed by: Paulina Borowa | Design Date:01.09.2016 |
Short description: As a newly created OpenLMIS user I receive an email with a link to set my password Acceptance:
|
|
Pre – conditions: |
|
Step | Action | Expected system response | Comment |
1 |
Create User enity. Method: Post Body: { | Status 200 OK |
|
2 | Check if after creating user an email has been sent
|
| |
3 | Set password In Url : http://localhost:8080/api/users/changePassword?access_token=d35e884e-128c-40f3-b174-0d05c6c3393c Method: Post Body: { "token":"4d132fa0-be37-49c4-ad1d-a98661f38bc3", "username":"UserName12", "newPassword":"NemPassword1" }
| Status 200 OK | Because the UI is not yet ready is not possible to check the link sent in the email so I checked setting a password by endpiont
token and username from an email |
4 |
Method: Get |
| |
5 | Check validation for password | From OLMIS-587 -password must be between 8 to 16 characters, should not contain spaces and contain at least 1 number, -error message is displayed if password doesn't meet the above parameters
|