Skip to content

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

  1. Open the date filter, pick the granularity (Week, Month, or Year), and close the popover.
  2. Click Current period. Expected: filter shows the current week/month/year.
  3. Click the Left arrow twice. Expected: after each click the filter moves one unit back (−1, then −2).
  4. Click Current period. Expected: filter returns to the current period.
  5. Click the Right arrow twice. Expected: after each click the filter moves one unit forward (+1, then +2).
  • Spec: playwright/tests/integration/timerecord.spec.ts (line 826)