Detailed testing steps - siddhantbenadikar/benadikar-siddhant-webdev GitHub Wiki

NOTE: MY API NEEDS ME TO HAVE A PAID VERSION TO ACCESS THEIR PHOTOS OF FOOD etc.. SO I HAVE USED LOREMPIXEL/FOOD TO RENDER THE IMAGES YOU SEE ON THE PAGES.

USE CASE 1: User follows another user

  1. Log in by using any user credentials eg: alice/alice
  2. Click on search users button to get a list of all registered users
  3. Click on the name of any user you want to follow to go to their profile page
  4. Click on the follow button to follow them. Now you can see their name in your following tab

USE CASE 2: User rate/like a restaurant

  1. Make sure you are logged in
  2. Search by location, or name of a restaurant you will navigate to a list of restaurants
  3. Click on anyone of the restaurants
  4. You can see the like button, rating box in the details page of every restaurant.

USE CASE 3: Reviews for a restaurant

  1. Review and Restaurants are two of my domain objects, there can be multiple reviews for a single restaurant, user can give more than one review.
  2. Make sure you are logged in
  3. Search by location, or name of a restaurant you will navigate to a list of restaurants
  4. Click on anyone of the restaurants
  5. You can see the review box in the details page of every restaurant.

USE CASE 4: Searching for a restaurant

  1. There would be two search bars on the home page, you can either search by location or name of the restaurant
  2. You would be navigated to the search page with a list of restaurants.

USE CASE 5: Details for a restaurant

  1. After searching for the restaurant, mentioned above you can click on anyone of the restaurants to be taken to its details page.
  2. Here you can check out the details and perform user to object relation operations if logged in

USE CASE 6: View user profile

  1. You first need to log in.
  2. As you log in you would be taken to your profile page where you can view your follower, following, likes reviews.
  3. Click on the search users button to get a list of all users.
  4. Click on their name to navigate to their profile.
  5. Here you can view their follower, following, likes reviews.