fjborquez / katara

Frontend for Avatar project
0 stars 0 forks source link

Create an update resident form #22

Closed Norbbs closed 3 months ago

Norbbs commented 6 months ago

As a Data Owner I want to update the resident data So that they can access to completely updated data and utilize the data related to the resident for their respective needs

Definition Of Ready (DoR)

Definition Observations
  • - [x]
The story meet the INVEST and SMART criteria
  • - [x]
Dependencies identified and resolved #21
  • - [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. Generate a form with the following fields filled in::
    • name (text, mandatory, max 30 chatacters).
    • lastname (text, mandatory, max 30 chatacters).
    • date of birth (date, mandatory).
    • Nutritional profile (a list of nutritional restrictions).
    • Update button

Out of scope

  1. create, delete and other non-update processes.

Wireframe

Image

Acceptance Criteria

AC GIVEN WHEN THEN
  • - [ ]
1 Update resident successfully data form filled up correctly user clicks on update button the resident data will be updated successfully.
  • - [ ]
2 Don't update resident because of lack of name or lastname a name or last name is null or empty user clicks on update button the resident data won't be updated successfully.
  • - [ ]
3 Don't update resident because of maximum characters allows a residen name or lastname with more than 30 characters user clicks on update button a resident WON'T be updated and an error message will be displayed.
  • - [ ]
4 Resident update fails for lack of date of birth field Date of birth field is missing (null or empty) user clicks on update button an error message will be displayed and the data won't be updated successfully
  • - [ ]
5 Resident date of birth with incorrect format Date of birth field is incorrect (not a valid date format) user clicks on update button an error message indicating the incorrect date format longer will appear and the data won't be updated successfully
  • - [ ]
6 Future user date of birth future date of birth user clicks on update button an error message won't allowed future dates and the date won't be updated successfully.

Definition of Done (DoD)

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