Guest User

Untitled

a guest
Jul 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. QA method for login system:
  2.  
  3. - AJAX interface
  4. - Good credentials
  5. - Logout
  6. - Bad credentials, lockout disabled
  7. - Bad credentials, lockout on captcha
  8. - Keep entering bad credentials until locked out
  9. - Expected behavior:
  10. - Error message should say that the credentials were wrong
  11. - Error message should warn the user that they will be required to complete a captcha if they fail X more times
  12. - Bad captcha, good credentials
  13. - Error message should say that the captcha was wrong
  14. - Bad captcha, bad credentials
  15. - Error message should say that the captcha was wrong
  16. - Good captcha, bad credentials
  17. - Error message should say that the credentials were wrong
  18. - Good captcha, good credentials
  19. - Login should succeed
  20. - Bad credentials, lockout on full
  21. - Keep entering bad credentials until locked out
  22. - Expected behavior:
  23. - Error message should say that the credentials were wrong
  24. - Error message should warn the user that they will be prevented from logging in if they fail X more times
  25. - Method:
  26. - Set policy to disable in admin tab
  27. - Refresh in test tab
  28. - Click Log In in test tab
  29. - Set policy to lockout in admin tab
  30. - Enter valid credentials
  31. - Verify expected behavior
  32. - This makes sure that the server is properly blocking login requests on submit
  33. - Click Cancel
  34. - Click Log in
  35. - Verify expected behavior
  36. - Expected behavior:
  37. - Error message should say that the computer is locked out
  38. - Username and password field should be disabled
  39. - Wait for lockout to expire, then try again with good credentials
  40. - Expected behavior:
  41. - No mention
  42. - Repeat entirely using non-AJAX interface
Add Comment
Please, Sign In to add comment