Skip to content

User Story: voting on article

Seongmin Park edited this page Oct 9, 2019 · 2 revisions

Feature : Voting on article

As a SNUBot user who found some interesting suggestion on community board.
I want to vote on that suggestion
So that, SNUBot quickly reflects that interesting idea

Button

  • like button
  • Lable : Like
  • Action : Up-vote to the article
  • dislike button
  • Lable : Dislike
  • Action : Down-vote the article

Acceptance Test

  1. user clicks interesting title in community board, then user is directed to the article page
  2. user clicks like button
  3. if user is not logged in, user is informed that login is required
  4. if not logged in, user enters log-in page and log in
  5. after log-in process, user is redirected to article
  6. user clicks like button again
  7. if user already liked it before, it cancels liked
  8. Dislike button acts same as like button