cse442-at-ub / project_s23-atomic

project_s23-atomic created by GitHub Classroom
1 stars 1 forks source link

Create Reset Password Feature #43

Closed maalolan210 closed 1 year ago

maalolan210 commented 1 year ago

Task Tests

(it is important to have an account associated with a real buffalo.edu email address that you can access and check emails from for these tests. if not, sign up with one before starting! )

Test 1

  1. Go to https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/
  2. Verify you are in landing page, click on login button, located in the bottom right of the screen
  3. Click "Forgot Password" button on login page. Verify you are directed to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/reset]
  4. Enter your email address. Click Submit. You should be redirected to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/resetcode]
  5. Check your email inbox for the reset code. Go back to the browser tab and enter the 4 digit code. Click Submit.
  6. You should be taken to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/reenter]
  7. Enter your username, new password and reenter your new password on the respective fields. Click submit.
  8. You will be directed to login page [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/login].
  9. In your login page, enter your username, and newly reset password and click login.
  10. You should be taken to homepage.

Test 2

  1. Go to https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/
  2. Verify you are in landing page, click on login button, located in the bottom right of the screen
  3. Click "Forgot Password" button on login page. Verify you are directed to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/reset]
  4. Enter your email address. Click Submit. You should be redirected to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/resetcode]
  5. Check your email inbox for the reset code. Go back to the browser tab and enter the 4 digit code. Click Submit.
  6. You should be taken to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/reenter]
  7. Enter your username, new password and reenter your new password on the respective fields. Click submit.
  8. You will be directed to login page [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/login].
  9. In your login page, enter your username, and old password before your reset password and click login.
  10. You should not be taken to homepage.

Test 3

  1. Go to https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/
  2. Verify you are in landing page, click on login button, located in the bottom right of the screen
  3. Click "Forgot Password" button on login page. Verify you are directed to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/reset]
  4. Enter your email address. Click Submit. You should be redirected to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/resetcode]
  5. Check your email inbox for the reset code. Go back to the browser tab and enter an incorrect 4 digit code other than the one you received in your email. Click Submit.
  6. You should not be redirected to [https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/reenter]