Skip to content

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

  1. Fetch the full list of projects from the API. Expected: all 4 seeded projects are returned.
  2. 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.
  3. 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.
  4. Expected: the "By task", "By user" and "By tag" breakdowns for the selected project all match the API data for the current week.
  • Spec: playwright/tests/integration/reports.spec.ts (line 514)
  • Spec: playwright/tests/integration/reports.spec.ts (line 514)