Skip to content

538 — should pick week 2 in current month

Description

Verifies that picking the 2nd week in the current month via the Week date filter narrows the Time Records table to exactly the 7 seeded records that fall within that week's start-to-end date range.

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 and choose Week mode.
  2. Click the 2nd week in the current month and close the picker.
  3. Expected: the filter chip shows the chosen week's start–end date range.
  4. Expected: the table contains exactly 7 records, all with dates inside that week.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 899)