cse442-at-ub / project_s23-gofly

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

As a consumer I want to be able to edit my profile to change any and all of my personal information so that I can keep it updated. #34

Closed tommyshelby3 closed 1 year ago

tommyshelby3 commented 1 year ago

Acceptance Tests

Test Case 1: Changing the first, middle, and last name.

  1. login to the account using valid credentials. (Link)
  2. click on the profile icon in the top right corner which will redirect you to the profile page.
  3. click on the "Edit Profile" button beside the user name which will redirect you to the edit profile page.
  4. select the input boxes of the first, middle, and last name in any order and type in the new names.
  5. click "Submit"
  6. refresh the page and verify that the recent change is displayed on the edit profile page.

Test Case 2: Changing the password

  1. login to the account using valid credentials. (Link)
  2. click on the profile icon in the top right corner which will redirect you to the profile page.
  3. click on the "Edit Profile" button beside the user name which will redirect you to the edit profile page.
  4. select the password input box and type in the new password.
  5. click "Submit"
  6. refresh the page and verify that the recent change is displayed on the edit profile page.

Test Case 3: Changing the email

  1. login to the account using valid credentials. (Link)
  2. click on the profile icon in the top right corner which will redirect you to the profile page.
  3. click on the "Edit Profile" button beside the user name which will redirect you to the edit profile page.
  4. select the email input box and type in the new email.
  5. click "Submit"
  6. refresh the page and verify that the recent change is displayed on the edit profile page.

Test Case 4: Changing the phone number

  1. login to the account using valid credentials. (Link)
  2. click on the profile icon in the top right corner which will redirect you to the profile page.
  3. click on the "Edit Profile" button beside the user name which will redirect you to the edit profile page.
  4. select the phone number input box and type in the new phone number.
  5. click "Submit"
  6. refresh the page and verify that the recent change is displayed on the edit profile page.

Test Case 5: Changing the first-middle-last name, password, email, and phone number at once.

  1. login to the account using valid credentials. (Link)
  2. click on the profile icon in the top right corner which will redirect you to the profile page.
  3. click on the "Edit Profile" button beside the user name which will redirect you to the edit profile page.
  4. select the input boxes of the first-middle-last name, password, email, and phone in any order and type in the new information.
  5. click "Submit"
  6. refresh the page and verify that the recent change is displayed on the edit profile page.