Skip to content

125 — should delete task

Description

Verifies on the personal Calendar that deleting a task from the side panel via "Move to trash" removes it and decreases the counter.

Preconditions

  • Signed-in tenant on the personal Calendar with the Tasks side panel visible
  • Three seeded tasks (mutableData1/2/3)

Steps

  1. Expected: the Tasks counter initially shows 3.
  2. Open mutableData1's task card and choose Move to trash. Expected: the move-to-trash confirmation modal appears.
  3. Confirm the action. Expected: the "Moved to trash" toast appears.
  4. Re-check the side panel. Expected: the Tasks counter now shows 2.
  • Spec: playwright/tests/integration/calendar.spec.ts (line 657)