Skip to content

User Story: search article

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

Feature: search article

As a SNUBot user who participate in community
I want to search keyword at article list
So that I can see whether previous suggestion exists or not.

Form Fields

  • Search Type
  • field label: Search Type
  • field type: drop down
  • field options: name, content, name/content
  • default value: name
  • Search Area
  • field label: Search Keyword
  • field type: Text Field
  • textbox validation: more than 2 letters.

Button

  • Search button
  • Label: Sort
  • Action: Search the articles based on search keyword.

Acceptance Test

  1. at community boards pages, user can find search type, search input, search button form below articles. Form fields’ default values are name and null each.
  2. user clicks name on search type. Then drop-down list appears and user can choose one of them.
  3. user types text in search input field.
  4. user clicks search button.
  5. if input in search input is less than or equal to 2 letters, alert user need keyword more than 2 letters without redirecting or switching.
  6. otherwise, search the articles based on given search keyword and search type.