1011: Log into the UI using username and password
Test Case #:1011 | Test Case Name: |
System: OpenLMIS | Subsystem: blue |
Test case designed by: Paulina Borowa | Design Date: 05.10.2016 |
Short description: Acceptance criteria:
|
|
Pre – conditions: |
Step
Action | Expected system response | Comment | |
1 | Verify if http://10.222.17.205/public/#/login is available (the login form should be seen). | ||
2 | Try to login using following credentials:
| Logging with this credentials should not be possible. | |
3 | Try to login using following credentials:
| Login should be finished successful. | |
4 | Create User enity. In Url: http://10.222.17.205/referencedata/api/users?access_token=57ec15d3-6a33-4165-96ad-94f2552fb5ba Method: Put Body: {"username": "UserNa1mea112", "email": "testowesoldevelo@gmail.com", "firstName": "Na1m1ea2F", "lastName": "Las1t2aN", "verified": "true", "active": "true", "restrictLogin": "false", "timezone":"CTM" } | Status 200 OK
| |
5 | Check if after creating user an email has been sent |
| |
6 | Set password In Url : http://10.222.17.205/referencedata/api/users/passwordReset?access_token=5251ef4f-42af-41d3-b37a-04d774a3b9a4 Method: Post Body: { "token":"1b28f8ef-73c7-44f2-811c-5f791f667c9f", "username": "UserNa1mea112", "newPassword":"Password123" } | Status 200 OK |
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 |
7 | Try to login using following credentials:
| ||
8 | Verify if the logging is possible with wrong credentials (the proper warning should be displayed). | Logging with wrong credentials should not be possible. |
OpenLMIS: the global initiative for powerful LMIS software