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 comment button.

#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 comment button 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 Post button.
  • 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 Post button on the Memory Post.
  • Changes or deletes the desired fields.
  • Clicks Save Changes button.

#5 Search

Actor: User or Guest

Preconditions:

  • The user is on the system.

Actions:

  • Clicks the Search section on the Home Page.
  • Writes some keywords, tags or usernames on the search section.
  • Clicks the search button.

#6 Annotate

Actor: User

Preconditions:

  • There is a Memory Post to be Annotated.

Actions:

  • Clicks the Annotate button on a memory post.
  • Selects the desired point or area.
  • Writes the text for annotation.
  • Clicks the Done button.

#7 Like a Memory Post

Actor: User

Preconditions:

  • There is a Memory Post to be liked.

Actions:

  • Clicks the Like button 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 Actions button and selects Ban 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 In button.
  • Fills the E-mail and Password sections.
  • Clicks Sign In again.

#10 Sign Up

Actor: Visitor

Preconditions:

  • The visitor is on the System.

Actions:

  • Clicks the Sign Up button.
  • Fills the needed Username , E-mail and Password sections.
  • Clicks Create Account.

#11 Recommendation

Actor: User

Preconditions:

  • The user is logged in the System.

Actions:

  • Visits the Home Page.