535 — should test arrows and button for ${g.name}¶
Description¶
Verifies the Week / Month / Year modes of the date filter on the Time Records table: the Today/Current button and the left/right arrows step the filter by exactly one unit of the chosen granularity in each direction (this scenario covers all three granularities through a parameterized loop).
Preconditions¶
- Signed in to a seeded test organization.
- Time Records page open in the Table view.
- One time record seeded for each day of the current month.
Steps¶
- Open the date filter, pick the granularity (Week, Month, or Year), and close the popover.
- Click Current period. Expected: filter shows the current week/month/year.
- Click the Left arrow twice. Expected: after each click the filter moves one unit back (−1, then −2).
- Click Current period. Expected: filter returns to the current period.
- Click the Right arrow twice. Expected: after each click the filter moves one unit forward (+1, then +2).
Related¶
- Spec:
playwright/tests/integration/timerecord.spec.ts(line 826)