Abstract:
This documents contains the definitions for tests that target the feature 'authentication with username and password'.
description:
This test focuses on checking that it is possible to successful login with a valid user account.
workflow:
- open the login page
- enter a valid username and the corresponding password
- click the login button
expected results:
the login is successful and the MainMenu page opens (check A)
description:
This test focuses on checking that the system refuses to login a user with an invalid user account (valid username and invalid password)
workflow:
- open the login page
- enter a valid username and an invalid password
- click the login button
expected results:
the login is denied and the error message Your User Name and Password combination could not be found. is shown on the login page (check A)
description:
This test focuses on checking that the system refuses to login a user with an invalid user account (invalid username and valid password)
workflow:
- open the login page
- enter an invalid username and password
- click the login button
expected results:
the login is denied and the error message Your User Name and Password combination could not be found. is shown on the login page (check A)
description:
This test focuses on checking that the system refuses to login a user with an invalid user account (invalid username and password)
workflow:
- open the login page
- enter an invalid username and password
- click the login button
expected results:
the login is denied and the error message Your User Name and Password combination could not be found. is shown on the login page (check A)
description:
This test focuses on checking that the system refuses to login a user with an locked user account (invalid username and password)
prerequisites:
• the test is executed with an user account that is already locked
workflow:
- open the login page
- enter the username and password of the locked user
- click the login button
expected results:
the login is denied and the error message Your User Name and Password combination has been Locked. is shown on the login page (check A)
description:
This test focuses on checking that the system forces a user to change its temporary password. The test can be executed in different variations:
- with a new user account (one that was never before used for login)
- with a user account that was currently unlocked (after it was locked before)
- with a user account for whom an administrator has reset the password
prerequisites:
All of the variations should be equivalent since it is assumed that the user account state is the same for all variations (a user account with a temporary password). Therefore each of the methods can be used to assign a temporary password to the test user
workflow:
- open the login page
- enter the username and password of the user with the temporary password
- click the login button
expected results:
the login is successful and the Reset Password page opens (check A)
description:
This test focuses on checking that the system locks the user account after the number of failed attempts has been succeeded.
prerequisites:
The lockout should be enabled.
workflow:
- open the login page
- enter the username of the user with an incorrect password
- click the login button
- repeat steps 2 and 3 for the maximum number of failed attempts
expected results:
The following message should appear:
"Your User Name and Password combination has been Locked. Please contact your OpenClinica Administrator to have them unlock your account." (check A)