Skip to content

Latest commit

 

History

History
171 lines (117 loc) · 6.48 KB

06. Adding a task.md

File metadata and controls

171 lines (117 loc) · 6.48 KB

ADDING A TASK

USER STORY

As a user, I should be able to add as many tasks to the list as I want. To create task I need to pass title and description. Both fields are required. Title input field should be limited to 100 characters. Description input field should be limited to 200 characters. After clicking 'Add task' button, I should see new task added to the list. It should not be possible to add two tasks with the same name.

WIREFRAME

CHECKLIST

  • Documentation analysis.
  • There are no actions menu button and edit button on the lists in the documentation (wireframes).
  • There are different names of add button for tasks in the documentation (wireframes).
  • Create a task by clicking the "Add task" button.
  • Title - max 100 characters. Boundary value analysis is used.
    • Valid test cases: 1, 100.
    • Invalid test cases: 0 ("Add task" shouldn't be clickable), 101 (what happens if more than 100?).
  • Description - max 200 characters. Boundary value analysis is used.
    • Valid test cases: 1, 200.
    • Invalid test cases: 0 ("Add task" shouldn't be clickable), 201 (what happens if more than 200?).
  • What type of characters in a title? !@#$%&*(){},.?/'
  • Whitespaces in the task title and description.
  • Unlimited number of tasks.
  • The same name for tasks is not allowed - unique name. Popup attention notification should be displayed.
  • The same list title, task title and description.
  • Popup notification can be closed by clicking [X] button or outside the window.
  • The same name for tasks is not allowed after editing a task.
  • Task details view are expanded by clicking the task panel.
  • [ _ ] button should collapse the task panel.
  • [ / ] edit task button.
  • [ X ] remove task button.
  • What do the "Important", "Label", "Checkbox item list" buttons look like?
  • Mark tasks as important.
  • Delete an "Important" flag.
  • Set label.
  • Limit of characters for a label?
  • Delete label.
  • Create a checkbox item list.
  • Limit of characters for checkbox item?
  • How many items?
  • Delete checkbox item list.
  • List actions for lists with tasks.
  • Reordering lists with tasks.




TEST SUITE ID: 06

TEST CASE ID: 06-01

SUMMARY: ADDING A TASK BY CLICKING THE "ADD TASK" BUTTON
STATUS: PASSED 🟢

Execution preconditions:

  1. Launch the application.

Test Data:

List title: "List 1"
Task title: "Task 1"
Task description: "Description for Task 1"

Steps:

  1. Add a list on the board.
  2. Click the "Add new task" button.
  3. Add title name and description.
  4. Click "Add task".

Expected Result: The new task is added. The task has a title and description.


TEST CASE ID: 06-02

SUMMARY: LENGTH OF TASK TITLE AND DESCRIPTION - VALID NUMBER OF CHARACTERS (1/1, 100/200)
STATUS: PASSED 🟢

Preconditions:

  1. Launch the application.

Test Data:

List title: "Cras sollicitudin non nulla vitae facilisis donec."
Task title (1): "1"
Description (1): "1"
Task title (100): "Suspendisse condimentum volutpat efficitur. Class aptent taciti sociosqu ad litora torquent per vel."
Description (200): "Ut vitae dolor leo. Duis in justo vitae tortor volutpat luctus vel vitae sapien. Phasellus molestie nibh ut convallis varius. Ut tellus neque, ullamcorper id efficitur sed, maximus ut justo. Fusce ut."

Steps:

  1. Add a list on a board.
  2. Click "Add new task" and fill in the title and description fields.
  3. Click "Add task".
  4. Repeat steps 2-3 for adding the second task.

Expected Result: A list is created with two tasks. Tasks can have titles 1-50 characters.


TEST CASE ID: 06-03

SUMMARY: LENGTH OF TASK TITLE AND DESCRIPTION - INVALID NUMBER OF CHARACTERS (101/201)
STATUS: PASSED 🟢

Preconditions:

  1. Launch the application.

Test Data:

List title: "Cras sollicitudin non nulla vitae facilisis donec."
Task title (101): "Maecenas eget ex risus. Vestibulum scelerisque, ex quis malesuada ultricies, dui dui laoreet viverra."
Description (201): "Ut scelerisque, nisl sed dictum placerat, eros neque eleifend lorem, sed rhoncus ligula orci non nisi. Aenean pellentesque sapien ac mauris fermentum finibus. Suspendisse accumsan tortor sit amet odio."

Steps:

  1. Add a list on a board.
  2. Click "Add new task" and fill in the title and description fields.
  3. Click "Add task".

Expected Result: It's imposible to add a task when a title has more than 100 characters and/or description has more than 200 characters.


Remark: Discuss with the team what exactly should happen after trying to add a title that includes more than 100 characters and/or description that includes more than 200 characters (e.g. a notification will appear that the length exceeds the allowed number of characters or the number of characters in the title and/or description will automatically decrease to 100 and 200. If it is a notification, what kind will it be?).


TEST CASE ID: 06-04

SUMMARY: LENGTH OF TASK TITLE AND DESCRIPTION - EMPTY FIELDS (0/0)
STATUS: PASSED 🟢

Preconditions:

  1. Launch the application.

Test Data:

List title: "Cras sollicitudin non nulla vitae facilisis donec."

Steps:

  1. Add a list on a board.
  2. Click "Add new task".
  3. Click "Add task".

Expected Result: It's impossible to create a task without a title and description.

Remark: Discuss with the team what exactly should happen after trying to create a list without a title (e.g. a notification will appear that the title field is a required or the add button will not be clickable as it is now).


BUG REPORTS IN JIRA

06 TDL-27 JIRA

06 TDL-28 JIRA

06 TDL-29 JIRA