445 — should check default week report with switching of projects¶
Description¶
Verifies that the individual project report on Reports → Projects supports switching between projects via the page-header project selector, and that each chosen project's summary and breakdowns recompute correctly for the default current-week range.
Preconditions¶
- Signed-in tenant owner Octavia Wolff on a 1920×1080 viewport.
- Seeded test data: 4 clients, 4 simple projects, 6 tasks, 3 tags and 11 time records covering the current week.
- Reports page is open at the Projects tab, project 1 row clicked, individual project-report page visible.
Steps¶
- Fetch the full list of projects from the API. Expected: all 4 seeded projects are returned.
- For each project in the list, open the project picker in the report header and select that project. Expected: the page title updates to the selected project's name and the individual project-report page is asserted visible.
- For the selected project, re-fetch its filtered data and the full time-records list. Expected: the individual-project summary header matches the API aggregate for that project inside the current week.
- Expected: the "By task", "By user" and "By tag" breakdowns for the selected project all match the API data for the current week.
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 514)
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 514)