fjborquez / aang

0 stars 0 forks source link

Update User Data Profile Manually #5

Closed Norbbs closed 6 months ago

Norbbs commented 7 months ago

As a Data Owner I want to Update Data User Profile Manually So that to ensure that I have user information up-to-date and contribute to User privacy , data management and analytic

Definition Of Ready (DoR)

Definition Observations
  • - [x]
The story meet the INVEST and SMART criteria
  • - [x]
Dependencies identified and resolved #6
  • - [x]
Written acceptance criteria with test scenarios, understood by the team and agreed upon
  • - [x]
The user story was understood and agreed upon in a refinement session with the dev team
  • - [x]
The team has an idea of how to make the demonstration of the finished story

Scope

  1. Resolve card https://github.com/fjborquez/aang/issues/3 identified as a dependency
  2. Create endpoints for user update data
  3. The following fields can only be modified:
    • Date Of Birth (date)
    • Is Vegetarian (boolean)
    • Is Vegan (boolean)
    • Is Celiac (boolean)
    • Is Keto (boolean)

Out of scope

  1. create, delete and other non-update processes.
  2. not including profile update.
  3. not including login.

Acceptance Criteria

AC GIVEN WHEN THEN
  • - [x]
1 Update an user profile successfully User profile data fields are filled up correctly press on update button the information will be saved successfully
  • - [x]
2 User update fails for lack of date of birth field Date of birth field is missing (null or empty) press on update button an error message will appear and the data won't be updated successfully
  • - [x]
3 User date of birth incorrect format Date of birth field is incorrect (not a valid date format) press on update button an error message indicating the incorrect date format longer will appear and the data won't be updated successfully
  • - [x]
4 Future user date of birth future date of birth press on update button an error message won't allowed future dates and the date won't be updated successfully.
  • - [x]
5 Boolean fields is vegeratian, is vegan, is celiac and is keto fields press on update button the information will ve updated successfully with any combination of these fields (true or false)

Definition of Done (DoD)

Definition Result
  • - [x]
All acceptance criteria have been met
  • - [x]
No significant or critical defects
  • - [x]
Deskcheck ceremony has been made
  • - [x]
Keep minimum test coverage of 80% over the necessary code and components
  • - [x]
Technical documentation published
  • - [x]
Spike, PoC or benchmarks findings documented