Skip to content

447 — should check default week report but go to reports through project page

Description

Verifies that the individual project-report page can also be reached by navigating from the Projects module (Projects list → project 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 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. Switch the navigation context to the Projects module. Expected: the Projects list is visible.
  2. Click into project 1 by its title. Expected: the project-detail page for project 1 opens.
  3. Click the "Reports" tab on the project-detail page. Expected: the individual project-report page for project 1 is asserted visible.
  4. Re-fetch project 1's filtered data and the full time-records list for the current week. Expected: the individual-project summary header matches the API aggregate for project 1 inside the current week.
  5. Expected: the "By task", "By user" and "By tag" breakdowns for project 1 all match the API data for the current week.
  • Spec: playwright/tests/integration/reports.spec.ts (line 545)
  • Spec: playwright/tests/integration/reports.spec.ts (line 545)