Skip to content

443 — should delete project in reports

Description

Verifies that a project can be moved to trash directly from the Reports → Projects 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 Projects tab active.

Steps

  1. Open the date picker and switch the range to the whole current year, then close the picker with Escape. Expected: the summary header matches the API aggregate of time records grouped by project for the year, and the table shows all 4 projects.
  2. Open the row-actions menu on the first project row and choose "Move to trash". Expected: a confirmation modal asks whether to move this project to trash.
  3. Confirm the move-to-trash modal. Expected: the modal closes and the Projects table refreshes; the row count drops to 3.
  • Spec: playwright/tests/integration/reports.spec.ts (line 476)
  • Spec: playwright/tests/integration/reports.spec.ts (line 476)