As a user, on the Hotels page I would see a search box with three inputs: -
a. Location Search Box:
This is a text input box that is initially blank. User will enter input string and that input should be passed to backend and we should receive hotel entries starting with that input. The limit of the entries displayed should be 5.
b. Start Date:
This is a date picker that should display a dropdown calendar. This date will be sent to the backend
c. End Date:
This is a date picker that should display a dropdown calendar. This date will be sent to the backend
As a user, When I click on the search button, I would get results based on the input entered in the three input boxes.
Acceptance Criteria: -
Given that I am a user when I enter any input in the location box, based on my input, hotel entries up to three should be displayed.
Given that I am a user, I should be able to select dates in the start date and return date data picker.
Given that I am a user, I should be able to select dates in the end date and return date data picker.
Description:-
As a user, on the Hotels page I would see a search box with three inputs: - a. Location Search Box: This is a text input box that is initially blank. User will enter input string and that input should be passed to backend and we should receive hotel entries starting with that input. The limit of the entries displayed should be 5. b. Start Date: This is a date picker that should display a dropdown calendar. This date will be sent to the backend c. End Date: This is a date picker that should display a dropdown calendar. This date will be sent to the backend
As a user, When I click on the search button, I would get results based on the input entered in the three input boxes.
Acceptance Criteria: -
Screen for reference:-