Skip to content

621 — should pick week 2 in 3 months ahead

Description

Verifies that the Week date filter can be navigated 3 months into the future to pick the 2nd week of that month, returning exactly the 7 seeded records that fall in that future 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 3 months forward, and click the 2nd week of that month.
  2. Close the picker.
  3. Expected: the filter chip shows the chosen future 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)