fjborquez / katara

Frontend for Avatar project
0 stars 0 forks source link

Create a House Registration Form #14

Closed Norbbs closed 5 months ago

Norbbs commented 6 months ago

As a Data Owner I want to create a house to the other users and themselves So that all users can access and utilize the created data related to the house for their respective needs

Definition Of Ready (DoR)

Definition Observations
  • - [x]
The story meet the INVEST and SMART criteria
  • - [x]
Dependencies identified and resolved
  • - [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:
    • Description (textfield, mandatory).
    • City (a list of cities in Chile 🇨🇱. Only one can be chosen, mandatory)
    • house by default? (a checkbox can be checked or not, mandatory).
    • button "register" for complete the process

Out of scope

  1. Any other form than creating houses
  2. For the cities entity: province, region and country are out of scope.

Wireframe

Image

Acceptance Criteria

AC GIVEN WHEN THEN
  • - [x]
1 Go to add house from user lists a houses list user clicks on Add link the house creation form will be displayed successfully
  • - [x]
2 Add a house successfully a form filled up correctly user clicks on register button the house will be createde and a message "house added" will be displayed.
  • - [x]
3 Add a house successfully with house by default checked a form filled up correctly and house by default field is checked user clicks on register button the house will be created with house by default checked and a message "house added" will be displayed.
  • - [x]
4 Add a house successfully with house by default checked a form filled up correctly and house by default field is unchecked user clicks on register button AND the selected person has NOT any house registered the house will be created with house by default checked and a message "house addes" will be displayed.
  • - [x]
5 Add a house successfully with house by default checked a form filled up correctly and house by default field is checked user clicks on register button AND the person has at least one house registered the house will be added with house by default checked AND the old one will be created with by default as UNchecked.
  • - [x]
6 Add a house successfully with house by default unchecked a form filled up correctly and house by default field is unchecked user clicks on register button AND the person has at least one house registered the house will be added with house by default checked AND the old one will be added with by default as UNchecked.
  • - [x]
6 Don't add a house because of lack of description a form with description null or empty user clicks on register button the house WON'T be added and an error message will be displayed "Fill in the description field".
  • - [x]
7 Dont' add a house because of description maximum characters allowed a house description with more than 30 characters user clicks on register button the house WON'T be added and an error message will be displayed "Description exceeds the maximum allowed".
  • - [x]
8 Don't add a house because of city is not selected a city is not selected in the form user clicks on register button the house WON'T be added and an error message will be displayed "A city must be selected".
  • - [x]
9 Don't add a house because of data duplication a form filled up correctly AND the person has one house with the SAME description in the SAME city registered user clicks on register button the house WON'T be added and an error message will be displayed "person belongs to the same house in the same city"
  • - [x]
10 Add a house NOT because of data duplication a form filled up correctly AND person belongs to one house with the SAME description but NOT in the SAME city registered user clicks on register button the house will be addd and a message "house added" will be displayed.
  • - [x]
11 Add a house NOT because of data duplication a form filled up correctly AND person has one house with a DIFFERENT description but in the SAME city registered user clicks on register button the house will be added and a message "house added" will be displayed.
  • - [x]
12 Add a house NOT because of data duplication a house description correctly AND person has one house with a DIFFERENT description in a DIFFERENT city registered user clicks on register button the house will be added and a message "house add" will be displayed.
  • - [x]
13 Show house data after register a new house a new house has been register press on register button houses information will be showed in a data table including data for the new house

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