453 — should check default week report but go to reports through client page¶
Description¶
Verifies that the individual client-report page can also be reached by navigating from the Clients module (Clients list → client detail → Reports tab) and that the resulting default-current-week report shows the same data as the direct path through Reports.
Preconditions¶
- Signed-in tenant owner Octavia Wolff on a 1920×1080 viewport.
- Seeded test data: 4 clients, 4 projects, 6 tasks, 3 tags and 11 time records covering the current week.
- Reports page is open at the Clients tab, client 1 row clicked, individual client-report page visible.
Steps¶
- Navigate to the Clients list in the Clients module. Expected: the Clients list is visible.
- Click into client 1 by its title. Expected: the client-detail page for client 1 opens.
- Click the "Reports" tab on the client-detail page. Expected: the individual client-report page for client 1 is asserted visible.
- Re-fetch client 1's filtered data and the full time-records list for the current week. Expected: the individual-client summary header matches the API aggregate for client 1 inside the current week.
- Expected: the "By user", "By project" and "By tag" breakdowns for client 1 all match the API data for the current week.
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 651)
Related¶
- Spec:
playwright/tests/integration/reports.spec.ts(line 651)