As a user, My favorites and their replies should always be available to me regardless of network connectivity. - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki

Use Case: Save User Questions As Favorites to be Viewed Offline

Use Case Name: UserFavCache

Participating Actors: User

Goal: User is able to browse their Favorite questions and their replies regardless of network connectivity

Trigger: User go to favorite questions activity by go to profile fragment and click on Local Questions button.

Precondition: Questions must exist for the User to make as favorite, User must have wi-fi when marking a question as favorite.

Postcondition: User will have a collection of questions they have marked as favorite that they can view offline

Basic Flow:

1. User go to profile fragment and click on Local Questions button.

2. User can access list of Favorite questions and their replies while offline

Exceptions:

2.0 No marked any questions as a Favorite

- 2.1 No questions 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
  • Shut down the Internet
  • Are the Question that just saved still available?