Académique Documents
Professionnel Documents
Culture Documents
Note:
Step-by-Step:
1. Log in to LOVE.
2. Go to Restaurants
3. Scroll to Search > Type to search for a non-existing restaurant
(eg. “Crystal Jade”)
4. You will be prompted to “Add a new restaurant”
5. Click on “Add a new restaurant” to be redirected to a form for new
restaurant entry
6. Enter ALL details in the form.
7. Ensure that all conditions specified in a red “bubble” are fulfilled
8. Click “Upload” to submit form OR Click “Cancel” to reset form
9. Restaurant successfully added upon form submission
Error Handling:
Case 1: At least one text input field not entered/left empty (excludes image
upload)
Result: Red “bubbles” specifying the conditions of each field will prompt
user to fill in any empty fields
Case 2: At least one text input field not fulfilling specified conditions as
stated in red “bubbles”
Result: Red “bubbles” will remain on the page until conditions are fulfilled.
Case 3: No image selected for upload (All other fields entered; fulfilling
specified conditions)
Result: Restaurant will not be successfully added. “Add Restaurant” form
will reset upon clicking “Upload”
Case 4: At least one of the drop lists for “Cuisine Type” or “Price Tier” not
specified. All text fields entered according to conditions. Image selected for
upload.
Search Restaurant
Preconditions:
1. Bootstrap must be done, with data from csv files loaded into mysql
database and images unzipped into data directory.
Note:
Both registered and non-registered users are allowed access to the “Search
Restaurant” function.
Not all specifications in the given drop lists must be selected. Search
proceeds as long as any one of the fields are specified.
Step-by-Step:
1. Go to Restaurants
2. Scroll to Search
3. Type Restaurant Name into “Value” text input area
4. Select cuisines, location, price tier, restaurant rating, and reviewer’s
name from the values in the drop lists.
5. Click “Submit” button to proceed with search.
6. Restaurant(s) that successfully match the input criteria will be listed to
user
Error Handling:
Case 3: Only one letter is typed into the keyword search (eg. “A”)
Result: All restaurants in the database with the starting letter “A” will be
displayed to user