Skip to content
Sougata Dafader edited this page Oct 16, 2019 · 1 revision

Role 1: Anonymous user

1. Steps to search for a recipe

  • Visit home page of FoodieWeb: http://foodiewebclient.herokuapp.com. capture

  • Enter the name of the recipe you want to search for on the search box e.g. Potato. capture 2png

  • Click on Search button.

  • You will find all the recipes matching the term Potato. 3

2. Steps to filter recipes by course

  • Follow all the steps to search for a recipe [Point 1].

  • Click on the name of the course on which you want to filter the recipes e.g. Breakfast and Brunch. capture3

  • You will find Breakfast and Brunch recipes for Potato

3. Steps to view recipe details

  • Follow all the steps given in point 2.

  • Click on the name of the food to see the recipe e.g. Breakfast Baked Potatoes. 8

  • You will land on details page of Breakfast Baked Potatoes.

  • Click on View Recipe button. 9

  • You will be redirected to another page with the steps of recipe.

Role 2: User

1. Steps to register as a user

  • Click on Register on navigation bar on top. reg
  • Enter username, password and email in registration form. capture
  • Click on Register button.
  • You will be redirected to home page on successful registration.

2. Steps to login

  • Click on Sign In located at the right corner of navigation bar on home page. signin
  • Enter the following details in login form.
    Username: alice
    Password: alice login
  • Click on Sign In button.
  • You will be redirected to Alice's home page which will list all her recent favorite recipes including the recently created recipes by Yummly. home-alice

3. Steps to add a recipe to favorites

  • Follow the steps in point 2 for login.
  • Click on the name of food from home page. Alternately you can search for recipes and click on name from there.
  • Click on "Like" button beside the name of recipe. Recipes which are already liked have green-colored buttons and cannot be liked again. like
  • It will be added to Favorites.
  • List of recent favorite recipes can be viewed from home page. Profile page will list all favorite recipes.

4. Steps to add a comment

  • Follow the first 2 steps given in point 3.
  • Put your thoughts in the textbox at the bottom of details page. comment
  • Click on Submit button to post your comment.

5. Steps view profile

  • Click on your username on the navigation bar on top upon successful login. alice
  • You can view your profile which will show your personal details and list of your favorite recipes if any. own

6. Steps to edit profile

  • Follow steps given in point 5.
  • Click on Update Profile as shown in picture. It will take you to an update form. own2
  • Fill up the details that you want to update. update
  • Click on Update. Your personal details will be updated.
  • Click on Cancel if you want to go back to your profile page without update.

7. Steps to view another user's profile

  • Follow the first two steps given in point 3 i.e. login and viewing recipe details.
  • Look for any comments with the recipe at the bottom. Click on the name or image of the user who commented. view comment
  • You will be able to view his/her profile on the following page. otheruser

Role 3: Admin

Username: admin
Password: admin

CRUD OPERATIONS

1. Login as an Admin.

1

2. Navigate to the Admin Panel via the Admin Panel Button on the navbar.

2

3. Add a user named dave with the same password and email address dave@gmail.com.

3

4. After the user is added, locate the user, who will be at the bottom of the table. Now click on the pencil icon beside it, to edit the user properties.

4

5. Now change the username, password as shown in the picture and click on the update button.

5

6. Now you can find that the updated values are reflected.

6

7. Now you can easily remove a user by clicking on the trash icon.

7