cse442-at-ub / project_s23-welovehertz

project_s23-welovehertz created by GitHub Classroom
0 stars 1 forks source link

Create a change my password function in the profile page #100

Closed MathewDebug closed 1 year ago

MathewDebug commented 1 year ago

Task Tests

Test 1

  1. Go to Login
  2. Type in mathewye@gmail.com for both email and password
  3. Click login
  4. Click the profile icon on the top right
  5. Verify that Change Password is on the page

Test 2

  1. Go to Register
  2. Type in Test for first and last name and testingchangepass@gmail.com for email, password, and confirm password
  3. Click Register
  4. Type in testingchangepass@gmail.com for both email and password
  5. Click login
  6. Click on the profile icon in the navbar
  7. Type in testingchangepass@gmail.com1 in Change Password
  8. Click Update password
  9. Go to Login
  10. Right click the page and click inspect
  11. On the top right click Application(if you don't see it, click the >> arrows and it will drop down)
  12. Find currentUserCookie under name
  13. Right click it and click delete
  14. Refresh the page by clicking the refresh button on the top left
  15. Type in testingchangepass@gmail.com for email and testingchangepass@gmail.com1 for password
  16. Verify that you are taken to the homepage and the navbar changed