Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QA method for login system:
- - AJAX interface
- - Good credentials
- - Logout
- - Bad credentials, lockout disabled
- - Bad credentials, lockout on captcha
- - Keep entering bad credentials until locked out
- - Expected behavior:
- - Error message should say that the credentials were wrong
- - Error message should warn the user that they will be required to complete a captcha if they fail X more times
- - Bad captcha, good credentials
- - Error message should say that the captcha was wrong
- - Bad captcha, bad credentials
- - Error message should say that the captcha was wrong
- - Good captcha, bad credentials
- - Error message should say that the credentials were wrong
- - Good captcha, good credentials
- - Login should succeed
- - Bad credentials, lockout on full
- - Keep entering bad credentials until locked out
- - Expected behavior:
- - Error message should say that the credentials were wrong
- - Error message should warn the user that they will be prevented from logging in if they fail X more times
- - Method:
- - Set policy to disable in admin tab
- - Refresh in test tab
- - Click Log In in test tab
- - Set policy to lockout in admin tab
- - Enter valid credentials
- - Verify expected behavior
- - This makes sure that the server is properly blocking login requests on submit
- - Click Cancel
- - Click Log in
- - Verify expected behavior
- - Expected behavior:
- - Error message should say that the computer is locked out
- - Username and password field should be disabled
- - Wait for lockout to expire, then try again with good credentials
- - Expected behavior:
- - No mention
- - Repeat entirely using non-AJAX interface
Add Comment
Please, Sign In to add comment