Men-Guo / alwayswin

297P Project
0 stars 0 forks source link

User Story7: Update Profile #22

Open xiazhvera opened 3 years ago

xiazhvera commented 3 years ago

User Story7: Update Profile As a user, I would like to update my profiles. Given the new user information and user id, when an update profile request is sent, then the backend will update the profile database, and respond to the frontend.

Estimated Time: 4p*h Github Issue:

Use Case: Review My Offers Actors: Seller, User Info Database Precondition:N/A Basic Path: The user enter the profile page and click on the “Edit button” on the product page , The front end pop up the edition page The user update the user information, and click on the submit The frontend send the modify user info request with user id to the backend The backend update the data into the user info database and respond The frontend received the success response and display the updated profile page

Alter Path:

  1. Pop up the error message and stay in the edition page, if the update fails.