Skip to content

541 — should land on this month from a far-past empty month

Description

Verifies that after navigating the Month date filter to an empty far-past month, clicking the This month ("current") shortcut snaps the filter back to the current month and re-populates the table with the current month's seeded records.

Preconditions

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

Steps

  1. Open the date filter, choose Month, navigate 8 months back, pick that month, and close.
  2. Expected: filter chip shows the chosen historical month; the table is empty (0 records).
  3. Open the date filter again and click the Current ("This month") shortcut.
  4. Expected: the filter chip shows the current month and year.
  5. Expected: the table now shows the records seeded for the current month.
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 945)