Skip to content

627 — should pick custom range crossing month boundary

Description

Verifies that the Custom date-range filter correctly handles a range that spans a month boundary — From day 29 of last month To day 2 of this month — and that the table shows only the seeded records inside that cross-month range.

Preconditions

  • Signed in to a seeded test organization.
  • Time Records page open in the Table view.
  • One record per day seeded for −1, 0, −5, and +3 months.

Steps

  1. Open the date filter and choose Custom mode.
  2. Click From and pick day 29 of the previous month.
  3. Click To and pick day 2 of the current month.
  4. Click outside to close the picker.
  5. Expected: the filter chip shows the cross-month range (last month day 29 – this month day 2).
  6. Expected: the table shows exactly the records whose dates fall within that range.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 1018)