Skip to content

444 — should check ${variant.name} report

Description

Verifies the per-project detail report (Reports → Projects → project 1, the Individual reports view) for each period variant (default week, last week, next week, whole year). For every variant the individual summary and the three breakdown tables (by task, user, tag) must match the project-specific time records returned by the API.

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.
  • Reports page is open at the Projects tab, project 1 (first seeded simple project) row clicked, individual project-report page asserted visible.

Steps

  1. Switch the report's date range to the variant under test (default week / last week / next week / whole year). Expected: the date range above the report updates accordingly.
  2. Re-fetch project 1's filtered data and the full time-records list from the API. Expected: the individual-project summary header matches the API aggregate for project 1 inside the variant's window.
  3. Expected: the "By task" breakdown lists every task on project 1 with logged time in the window with matching totals.
  4. Expected: the "By user" breakdown lists every user that logged time on project 1 in the window with matching totals.
  5. Expected: the "By tag" breakdown lists every tag attached to project 1's time records in the window with matching totals.
  • Spec: playwright/tests/integration/reports.spec.ts (line 500)
  • Spec: playwright/tests/integration/reports.spec.ts (line 500)