Skip to content

241 — should filter projects by Due Date less than today

Description

Verifies that the Projects table Due Date filter with the "LessThan" operator returns only projects whose due date falls strictly before the picked date.

Preconditions

  • Signed-in test tenant
  • Six seeded projects (default due date today+7), with the first project's due date pushed back to yesterday (and start date moved earlier to satisfy the start-before-due constraint)
  • Projects view open in "All projects" mode showing 6 projects

Steps

  1. Open the Filters panel.
  2. Add a Due Date filter row.
  3. Choose the "LessThan" operator.
  4. Pick today in the date input.
  5. Click Apply. Expected: the Projects grid shows exactly 1 project.
  6. Inspect the project name. Expected: the visible row is the first seeded project (the only one with a due date before today).
  • Spec: playwright/tests/integration/filters.spec.ts (line 317)