PrasannPradeepPatil / Booking-Website

0 stars 2 forks source link

Hotel Search #37

Open PrasannPradeepPatil opened 2 years ago

PrasannPradeepPatil commented 2 years ago

Description:-

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

  2. 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: -

  1. 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.
  2. Given that I am a user, I should be able to select dates in the start date and return date data picker.
  3. Given that I am a user, I should be able to select dates in the end date and return date data picker.

Screen for reference:- image