Skip to content

620 — should pick week 1 in 5 months ago

Description

Verifies that the Week date filter can be navigated 5 months into the past to pick the 1st week of that month, returning exactly the 7 seeded records that fall in that historical week.

Preconditions

  • Signed in to a seeded test organization.
  • Time Records page open in the Table view.
  • One time record seeded per day for the current month plus offsets −1, −5, and +3 months.

Steps

  1. Open the date filter, choose Week mode, navigate 5 months back, and click the 1st week of that month.
  2. Close the picker.
  3. Expected: the filter chip shows the chosen historical week's start–end range.
  4. Expected: the table contains exactly 7 records, all dated inside that week.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 899)