Skip to content

622 — should pick week 2 in 6 months ahead with no records

Description

Verifies that picking the 2nd week of a month 6 months in the future — where no records were seeded — shows the chosen week in the filter chip but produces an empty table.

Preconditions

  • Signed in to a seeded test organization.
  • Time Records page open in the Table view.
  • Time records seeded only for the current month and offsets −1, −5, +3 (nothing at +6 months).

Steps

  1. Open the date filter, choose Week mode, navigate 6 months forward, and click the 2nd week.
  2. Close the picker.
  3. Expected: the filter chip shows that future week's start–end range.
  4. Expected: the table is empty (0 records).
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 899)