As a user, I want to explicitly save some questions as favorites. - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki

Use Case: User can save questions as favorites

Use Case Name: SaveAsFavorites

Participating Actors: User

Goal: User is able to explicitly save questions as Favorites

Trigger: User Click on Favorite check box.

Precondition: Questions must exist for the User to save as Favorite, and User knows what question the user want to fav.

Postcondition: The Question is saved as favorite and can be viewed by click on My Favorite button on Main screen

Basic Flow:

1. User Clicks on Favorite button beside the Question content that the user want to save as favorite.

2. The Question will be cached and saved into Favorite List.

3.  User can browse these Questions while offline by go to profile fragment and click on Favorite Questions button.

Exceptions:

3.0 No marked any questions as a Favorite

- 3.1 No questions is in the Favorite list

Constraints: User has Wi-Fi while marking questions as Favorite.

Test:

  • the apps will allow user save question as favorites.
  • Login as an Author
  • Create some Questions
  • logout as an User
  • save questions as favourites
  • user sort by favourite
  • Are the Question that just saved correctly displayed?