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
- Log in by using any user credentials eg: alice/alice
- Click on search users button to get a list of all registered users
- Click on the name of any user you want to follow to go to their profile page
- 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
- Make sure you are logged in
- Search by location, or name of a restaurant you will navigate to a list of restaurants
- Click on anyone of the restaurants
- You can see the like button, rating box in the details page of every restaurant.
USE CASE 3: Reviews for a restaurant
- 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.
- Make sure you are logged in
- Search by location, or name of a restaurant you will navigate to a list of restaurants
- Click on anyone of the restaurants
- You can see the review box in the details page of every restaurant.
USE CASE 4: Searching for a restaurant
- There would be two search bars on the home page, you can either search by location or name of the restaurant
- You would be navigated to the search page with a list of restaurants.
USE CASE 5: Details for a restaurant
- After searching for the restaurant, mentioned above you can click on anyone of the restaurants to be taken to its details page.
- Here you can check out the details and perform user to object relation operations if logged in
USE CASE 6: View user profile
- You first need to log in.
- As you log in you would be taken to your profile page where you can view your follower, following, likes reviews.
- Click on the search users button to get a list of all users.
- Click on their name to navigate to their profile.
- Here you can view their follower, following, likes reviews.