UC-WG2-020 Search for a pet hotel
Responsible Team | WG2 |
---|---|
Responsible | @Olga Linikh (Unlicensed) |
Business Requirements | |
Stakeholders Requirements | |
Functional Requirements | |
Non-functional Requirements | SOLR-WG1-026 Performance requirements for the Pet Hotel Search |
Priority | MUST HAVE |
Actors | User who has a pet |
Preconditions |
|
Trigger (Start Point) | User clicks Book Hotel icon |
Main Flow (Sunny Day Scenario) Perform search by pre-filled pet, selected dates and city
Flow of Events
The System displays the Pet Hotel Search page with For field pre-filled with the registered pet.
User starts entering the name of the city in Where field.
System displays the list of the names of the cities and countries that match with entered characters.
User selects the desired city from the list.
System displays the name of the selected city and country in the field.
User clicks When field.
System displays calendar under the field.
User selects check-in and check-out dates.
System displays the selected dates in the field.
User initiates search process.
Post-Conditions
The list of the pet hotels, that are available for the selected dates and in the city selected by user, is displayed.
Alternative Flow (Sunny Day Scenario) #2 Perform search by selected pet in OTHER tab, selected dates and city
Flow of Events
System displays the Pet Hotel Search page with For field pre-filled with the registered pet.
User clicks For field
System displays a drop-down with active YOUR tab, where a list of the registered pet/pets with checked check-boxes by default is displayed
User unchecks a check-box with pre-selected pet/pets.
User clicks OTHERS tab.
System displays OTHERS tab with a list of the animals that can be selected, number next to each animal type, icon + (plus) and icon - (minus) to edit the number of animals of each type.
User clicks plus next to cat.
System displays number 1 next to cat.
User initiates search process.
Post-Conditions
The list of the pet hotels, that are available for the selected dates, animals and in the city selected by user, is displayed.
Alternative Flow (Rainy Day Scenario) #1 Show validation message in case a required field Where is empty
Flow of Events
2A. User leaves the required field Where empty.
3A. User clicks When field.
4A. System displays calendar under the field.
5A. User selects check-in and check-out dates.
6A. System displays the selected dates in the When field.
7A. User initiates search process.
Post-Conditions
System highlights the empty Where field with red color and displays the validation message under this field.
Alternative Flow (Rainy Day Scenario) #2 Show validation message in case a required field When is empty
Flow of Events
6B. User leaves the field When empty
7B. User initiates search process.
Post-Conditions
System highlights the empty When field with red color and displays the validation message under this field.
Alternative Flow (Rainy Day Scenario) #3 Show validation message in case User entered special symbols to Where field
Flow of Events
2C. User enters special symbols to the Where field.
3C. System displays special symbols in the Where field.
4C. User clicks When field.
5C. System displays calendar under the field.
6C. User selects check-in and check-out dates.
7C. System displays the selected dates in the field.
8C. User initiates search process.
Post-Conditions
System highlights the Where field with red color and displays the validation message under this field.
Alternative Flow (Rainy Day Scenario) #4 Show validation message in case User entered numbers to Where field
Flow of Events
2D. User enters numbers to the Where field.
3D. System displays numbers in the Where field.
4D. User clicks When field.
5D. System displays calendar under the field.
6D. User selects check-in and check-out dates.
7D. System displays the selected dates in the field.
8D. User initiates search process.
Post-Conditions
System highlights the Where field with red color and displays the validation message under this field.
Alternative Flow (Rainy Day Scenario) #5 Show validation in case User unchecked the check-box with a pre-filled pet and didn’t select another pet
Flow of Events
2E. User clicks pre-filled For field.
3E. System displays a drop-down with active YOUR tab with a list of the registered pet/pets with checkbox next to each pet, that is checked by default
4E. User unchecks the checkbox for all pets.
5E. System displays an empty For field.
6E. User initiates search process.
Post-Conditions
System highlights the empty For field with red color and displays the validation message under this field.
Use Case diagram