TESTING - vigneshnadar/InstaBook GitHub Wiki
Test Cases USE CASE 1 - a. User Follows another user Use Case 4 - View following and folowed users on profile Use Case 5 - View bookmarks on profile Click on login button on the top nav bar Enter username and password as alice and alice you will be navigated to profile page. Here you can do 4 things a. Update your profile details b. View your bookmarked books c. View Following users d. View users who are following you Currently other than profile all sections are empty. Let us fill them up Click on Home on top of navbar You will be redirected to landing page. You will find a list of books in Instabook Scroll down and you will be able to view all InstaBook Users Follow 'dan', 'bob' and 'charlie' Click on profile page on top of navbar In the following section of profile page you can view dan bob and charlie
USE CASE 2 - Search for books Use Case 3 - Details of book Use Case 6 - Bookmark and add review to book Now go to home and click on either search books or find more of any of the books You will be redirected to search page Search for 'Harry Potter'. A list of harry potter books will appear Click on any one of them. You will see details of the book. Click on Bookmark button. Enter some text in review box and click on add review. You will see the reviews immediately. Now navigate to profile page you will see the bookmarked books
Use Case 8 -create user Use Case 9 - list user Use Case 10 - update user Use Case11 - remove user Log in with credentials of admin You can perform all the functions performed by user role alice and bob In nav bar click on admin button. This button is visible only when you are logged in as admin Here you will see 2 partitions to the screen one for users and other for books CRUD OPERATIONS for BOOK Enter book name description and url. click on create book. A new book will be created. You can click on delete icon to delete the book or click on edit icon Once you click on edit icon the book fields will be populated. You can then enter updated info and click on update book
User case 12- Author creates book Log in with credentials of charlie in the profile page you can see that she is followed by Alice You can perform all the functions performed by user role alice and bob In nav bar click on Author button. This button is visible only when you are logged in as author Enter book name description and url. click on create book. A new book will be created. You can click on delete icon to delete the book or click on edit icon Once you click on edit icon the book fields will be populated. You can then enter updated info and click on update book