As an author, I want to push my replies, questions and answers online once I get connectivity. - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki
Use Case: Author can push replies, questions and answers online once the Author get connectivity
Use Case Name: PushDateWhenConnectInternet
Participating Actors: Author
Goal: App able to write comments, questions and answers when offline and will be pushed autometically once Author get connectivity.
Trigger: The author clicks submit replies, question and answer while offline
Precondition: Author writes replies, questions and answers when offline and submits them
Postcondition: The Questions, replies and answers that authored offline will be pushed autometically for every user to view once Author get connectivity.
Basic Flow:
1. Author submits replies, questions or answers Offline
2. The author is offline the information is saved to waiting list on the divice.
3. Once internet is connected, the replies, questions or answers in the waiting list will
be pushed autometically for every user to view and been delete from the waiting list.
Exceptions:
1.0 The author is online
- the question will be submitted normally
Test:
- the apps will push changes when Internet is available.
- Login as an Author
- shut down Internet
- Create some Questions
- Create some replies
- Create some answers
- Resume the Internet
- Are the Questions, replies and answers are correctly pushed and displayed?