Skip to content

Use Case Wiki

Hardik Shah edited this page Jun 25, 2018 · 3 revisions

Use Case 1: User Follows another User

  1. Login as User
  2. Search for another user with "@" prepended to the username in the search bar.
  3. Navigate to their public profile page.
  4. Click on follow below the icon to follow that user.
  5. You can anytime unfollow the user with same steps.

Use Case 2: User searches for songs, artists, albums.

  1. Enter the name of any song, album, artist in the search bar.
  2. Press search button.
  3. The homepage now displays a list of the songs, artists, and albums that match the search criteria.

Use Case 3: User Views details of the domain object

  1. The above use case produces a list of search results.
  2. The search result is divided into artists, songs, and albums.
  3. Clicking on particular link navigates to the respective page that contains more details for that item.

Use Case 4: User views all domain objects related to the user

  1. Login as User.
  2. Navigate to the profile page.
  3. Click on playlist to view and create all playlists related to the user.
  4. Click on the feed to view all the activities of the user and the users he is following. (likes and reviews)

Use Case 5: User Views all other users related to user

  1. Login as user.
  2. Navigate to the profile page.
  3. Click on followers and following to see all of your followers and all users that you follow.
  4. Click on the feed to see the likes and reviews of all users that you follow and all your likes and reviews.
  5. Click on playlist to view your playlists created in a local database but contains songs from Spotify API

Use Case 6: user related to a domain object

  1. Login as user.
  2. Navigate to the profile page.
  3. Once you are logged in, you can search any song/artist/album from the search bar and like and review that particular song/artist/album.
  4. All your likes and reviews will appear in the feed.
  5. Click on a playlist on your profile to create playlists.

Use Case 7: domain object related to another domain object

  1. Login as User.
  2. Search for a song in the search bar.
  3. click on plus button on right side of the song.
  4. Click on the playlist in which you want to add a song.

Use Case 8: admin creates a user

  1. Login as admin (admin/admin)
  2. Click on admin page from the navigation bar.
  3. Select the type of user.
  4. click on plus button on the left to add a user.

Use Case 9: admin lists all users

  1. Login as admin (admin/admin)
  2. Click on admin page from the navigation bar.
  3. Select the type of user.
  4. Clicking on user displays a list of that users

Use Case 10: admin edits/updates a particular user

  1. Login as admin (admin/admin)
  2. Click on admin page from the navigation bar.
  3. Select the type of user.
  4. Clicking on user displays a list of that users
  5. Click on a particular user.
  6. Click on edit to edit/update that user.

Use Case 11: admin removes a user

  1. Login as admin (admin/admin)
  2. Click on admin page from the navigation bar.
  3. Select the type of user.
  4. Clicking on user displays a list of that users
  5. Click on trash button on the right of the user to delete it.

Clone this wiki locally