Test Cases

  1. Adding a task should select the added task.
    1. Open test1.ics.
    2. Select "A".
    3. Local Menu.
    4. Add Subtask.
    5. Enter a summary.
    6. OK.
    7. The new subtask should be selected.
  2. Select next task after cut.
    1. Open test2.ics.
    2. Select "A".
    3. Local Menu.
    4. Cut.
    5. C should be selected.
  3. Adding a task should not collapse the tree.
    1. Open test3.ics.
    2. Expand All.
    3. Create a new task under the task list node.
    4. "A" should not collapse.
  4. Sorting should not change the selection
    1. Open test4.ics.
    2. Expand All.
    3. Select "A".
    4. Sort the tasks on summary.
    5. "A" should remain selected.
  5. Filtering should work
    1. Open test5.ics.
    2. Set the following filter: "Done is true".
    3. G, E, B should be visible.
    4. C, A, D should be grayed out.
    5. F, H should be filtered out.
  6. Starting/stopping a task
    1. Open test6.ics
    2. Start Colors/G
    3. StartAction should be disabled.
    4. StopAction should be enabled.
    5. The icon for "G" should have the "started" badge.
    6. Stop "G"
    7. StopAction should be disabled.
    8. StartAction should be enabled.
    9. The icon for "G" should not have the "started" badge.
  7. Clear percent complete
    1. Open test7.ics.
    2. "Clear Percent Complete" for "Test".
    3. Confirmation dialog should appear.
    4. All tasks under "Test" should have 0%.
    5. "Clear Percent Complete" for "Colors".
    6. R and B should have 0%, G - 25%
  8. Editable "Summary" column
    1. Open test8.ics.
    2. Select the root node.
    3. F2.
    4. The cell should not become editable.
    5. Select "Colors/B".
    6. F2.
    7. Enter "Test".
    8. Show Task "Test".
    9. Check the summary. It should be "Test".
  9. "Move up/Move down" should not change selection.
    1. Open test9.ics.
    2. Select "Music".
    3. Move it down.
    4. "Music" still selected.
    5. Select "Music/Pop".
    6. Move it down.
    7. "Music/Pop" still selected.
  10. -
  11. Expanded nodes/selection/started task/scrollbar positions should be restored after NB restart.
    1. Open test11.ics.
    2. Expand "Lights" and "Music".
    3. Start "Lights/Green"
    4. Select "Colors"
    5. Scroll down/right
    6. Restart NB.
    7. Check selection, expanded nodes and started task, scrollbar positions.