436 — should delete task in reports¶
Description¶
Verifies that a task can be moved to trash directly from the Reports → Tasks tab and that the table row count updates to reflect the deletion.
Preconditions¶
- Signed-in tenant owner Octavia Wolff on a 1920×1080 viewport.
- Seeded test data: 4 clients, 4 simple projects, 6 tasks and 11 time records.
- Reports page is open with the Tasks tab active.
Steps¶
- Confirm the default current-week summary on the Tasks tab. Expected: the summary header matches the aggregate of API time records in the current week, grouped by task.
- Open the date picker and switch the range to the whole current year, then close the picker with Escape. Expected: every seeded task is visible — exactly 6 rows.
- Open the row-actions menu on the first task row and choose "Move to trash". Expected: a confirmation modal asks whether to move this task to trash.
- Confirm the move-to-trash modal. Expected: the modal closes and the Tasks table refreshes; the row count drops to 5.
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 340)
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 340)