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¶
- Open the date filter, choose Month, navigate 8 months back, pick that month, and close.
- Expected: filter chip shows the chosen historical month; the table is empty (0 records).
- Open the date filter again and click the Current ("This month") shortcut.
- Expected: the filter chip shows the current month and year.
- Expected: the table now shows the records seeded for the current month.
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 945)