Use Cases - bounswe/bounswe2018group7 GitHub Wiki
#1 Make a Comment
Actor: User
Preconditions:
- There is a Memory Post to be commented.
Actions:
- Clicks the comment section on a memory post.
- Writes some text on the comment section.
- Clicks
post commentbutton.
#2 Delete a Comment
Actor: User
Preconditions:
- There is a Memory Post with a comment.
- The user owns the Memory Post or the Comment. Otherwise the user must be an Admin.
Actions:
- Clicks on the
edit commentbutton next to the related Comment on a Memory Post. - Selects
delete comment.
#3 Create a Memory Post
Actor: User
Preconditions:
- The user is not banned.
Actions:
- Clicks on
Create New Memory Postbutton. - Gives the desired parameters such as Title, Story, Time, Location, Media.
#4 Edit a Memory Post
Actor: User
Preconditions:
- The user owns the Memory Post.
Actions:
- Clicks the
Edit Postbutton on the Memory Post. - Changes or deletes the desired fields.
- Clicks
Save Changesbutton.
#5 Search
Actor: User or Guest
Preconditions:
- The user is on the system.
Actions:
- Clicks the
Searchsection on the Home Page. - Writes some keywords, tags or usernames on the search section.
- Clicks the
searchbutton.
#6 Annotate
Actor: User
Preconditions:
- There is a Memory Post to be Annotated.
Actions:
- Clicks the
Annotatebutton on a memory post. - Selects the desired point or area.
- Writes the text for annotation.
- Clicks the
Donebutton.
#7 Like a Memory Post
Actor: User
Preconditions:
- There is a Memory Post to be liked.
Actions:
- Clicks the
Likebutton on a memory post.
#8 Ban a User
Actor: Admin
Preconditions:
- The user is assigned as an Admin.
Actions:
- Clicks on the User to be banned.
- Selects
Actionsbutton and selectsBan this User.
#9 Sign In
Actor: Visitor
Preconditions:
- The visitor is on the System.
- The visitor has an account that is registered in the database.
Actions:
- Clicks the
Sign Inbutton. - Fills the
E-mailandPasswordsections. - Clicks
Sign Inagain.
#10 Sign Up
Actor: Visitor
Preconditions:
- The visitor is on the System.
Actions:
- Clicks the
Sign Upbutton. - Fills the needed
Username,E-mailandPasswordsections. - Clicks
Create Account.
#11 Recommendation
Actor: User
Preconditions:
- The user is logged in the System.
Actions:
- Visits the
Home Page.