Skip to content

542 — should pick year +2 (no records)

Description

Verifies that picking a year 2 years in the future via the Year date filter shows that year in the filter chip and produces an empty table (no records were seeded outside the current year).

Preconditions

  • Signed in to a seeded test organization.
  • Time Records page open in the Table view.
  • Records seeded only within the current year (at month offsets −1, 0, −5, +3).

Steps

  1. Open the date filter and choose Year mode.
  2. Navigate +2 years and pick that year.
  3. Close the picker.
  4. Expected: the filter chip shows the chosen year.
  5. Expected: the table is empty (0 records).
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 968)