As an author, I want to answer questions by making an answer. - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki
Use Case: Author can make answers to questions
Use Case Name: AuthorMakeAnswer
Participating Actors: Author
Goal: Author submits an answer to a specified question
Trigger: Author view a question, and click on answer button
Precondition: Author knows the question they want to answer
Postcondition: A new answer is added update after submit
Basic Flow:
1. The author browse a question's detail page
2. The author then click the answer button to go to the create answer activity
3. Author can fill in the answer content on the author answer page
4. Author can add image by click add image button/take a photo button
5. Author click submit button to submit the answer
6. The answer will be shown under the specific question
Exceptions:
2.0 User has not login yet
-2.1 No answer button will be seen by the user.
4.0 Author is offline
- 4.1 Answer is saved to be posted
4.0 No text in the content area
- 4.1 A toast poped and require Author to fill in the content
Test:
- the apps will allow Author make Questions.
- Create a question list
- Login as an Author
- Create a Question
- Insert the Question into the question list
- Create an Answer for this Question
- Insert the Answer under the Question
- Are the Answer And Author Name correctly displayed?