Skip to content

Test case UC1

Anton Strand edited this page Oct 21, 2018 · 5 revisions

Test case 1.1, The todo field is not accessible unauthorized

Prerequisite

Input:

  1. Make sure to not be logged in.

Output:

  • There is not Add a todo field.

Test case 1.2, Add a new todo

Prerequisite

Input:

  1. Write Test todo in the field Task:
  2. Press Add todo

Output:

  • The Task: field is empty
  • A new todo with the text Test todo is shown directly under the headline Your todos

Test case 1.3, Add todo with the return key

Prerequisite

Input:

  1. Write Test enter todo in the Task: field
  2. Press the return/enter key on your keyboard.

Output:

  • The Task: field is empty
  • A new todo with the text Test enter todo is shown directly under the headline Your todos

Test case 1.4, Can't add an empty todo

Prerequisite

Input:

  1. Leave the Task: field empty
  2. Press Add todo

Output:

  • The todo list is unaltered.

Test case 1.5, Don't add todos with only whitespace

Prerequisite

Input:

  1. Select the Task: field
  2. Press the spacebar 4 times
  3. Press Add todo

Output:

  • The todo list is unaltered.

Test case 1.6, Ignore tags

Prerequisite

Input:

  1. Write <b>hello</b> in the Task: field.
  2. Press Add todo

Output:

  • A new todo with the text hello without <b></b> is listed.