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¶
- 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.
- 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.
- Confirm the move-to-trash modal. Expected: the modal closes and the Projects table refreshes; the row count drops to 3.
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 476)
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 476)