Skip to content

545 — should pick custom range in current month

Description

Verifies that the Custom date-range filter accepts a from/to pair inside the current month (day 4 to day 8) and the table shows only the records whose dates fall within that range.

Preconditions

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

Steps

  1. Open the date filter and choose Custom mode.
  2. Click the From input and pick day 4 of the current month.
  3. Click the To input and pick day 8 of the current month.
  4. Click outside to close the picker.
  5. Expected: the filter chip shows "day 4 – day 8" (current month, short format).
  6. Expected: the table shows exactly the records whose dates fall on days 4 through 8.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 1018)