Skip to content

238 — should narrow time records to one day when selecting today+3 in the date picker

Description

Verifies the top-level date-range picker on the Time entries page — switching to Day view and stepping three days forward narrows the grid to records that overlap that single day.

Preconditions

  • Signed-in test tenant
  • Six time records seeded on different days (yesterday, today, today+1, today+2, today+3, plus one multi-day record spanning yesterday → today+2)
  • Time Tracking Table view open showing all 6 records

Steps

  1. Confirm the grid starts with 6 time records. Expected: all six rows are visible.
  2. Click the date-picker control.
  3. Switch the picker to "Day" view.
  4. Press Escape to close the picker overlay.
  5. Step the period forward three times using the right-arrow button (today → today+3).
  6. Expected: the grid shows exactly 1 time record — only the record dated today+3.
  7. Inspect the Project column. Expected: the sixth seeded project is the single visible row.
  • Spec: playwright/tests/integration/filters.spec.ts (line 259)