/
UC-WG2-020 Search for a pet hotel

UC-WG2-020 Search for a pet hotel

Responsible Team

WG2

Responsible

@Olga Linikh (Unlicensed)

Business Requirements

BR-WG2-020 Pet Hotel Search

Stakeholders Requirements

SR-WG2-020 Pet Hotel Search

Functional Requirements

SOLR-WG2-020 Pet Hotel Search

Non-functional Requirements

SOLR-WG1-026 Performance requirements for the Pet Hotel Search

Priority

MUST HAVE

Actors

User who has a pet

Preconditions

  1. User is registered in the Pet application and has an active personal account.

  2. User is successfully logged into the Pet application

  3. A pet of user is registered in the Pet application

  4. User has access to Internet

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

  1. The System displays the Pet Hotel Search page with For field pre-filled with the registered pet.

UIS-WG2-020 Pet Hotel Search Start Page
  1. User starts entering the name of the city in Where field.

  2. System displays the list of the names of the cities and countries that match with entered characters.

  3. User selects the desired city from the list.

  4. System displays the name of the selected city and country in the field.

  5. User clicks When field.

  6. System displays calendar under the field.

  7. User selects check-in and check-out dates.

  8. System displays the selected dates in the field.

  9. 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

  1. System displays the Pet Hotel Search page with For field pre-filled with the registered pet.

  2. User clicks For field

  3. 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

UIS-WG2-021 YOUR tab UI on the Pet Hotel Search
  1. User unchecks a check-box with pre-selected pet/pets.

  2. User clicks OTHERS tab.

  3. 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.

  4. User clicks plus next to cat.

  5. System displays number 1 next to cat.

  6. 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.

UIS-WG2-022 Validation for empty 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.

UIS-WG2-023 Validation for special symbols

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.

UIS-WG2-024 Validation for numbers

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

Related content