Skip to content

416 — should warn when end date is before start date

Description

Verifies that the "Add project" form blocks submission and surfaces a validation message on the Due date field when the user picks an end date that is earlier than the start date.

Preconditions

  • Signed-in tenant on the Projects page.

Steps

  1. Click "Add project" and choose the "Simple" project kind.
  2. Set the title to the seeded project name and the prefix to the seeded project code.
  3. Open the Start date picker and choose today's date.
  4. Open the End date picker and choose a date 5 days in the past (i.e. before the start date).
  5. Click "Create". Expected: the form does not submit; the Due date field shows a "Required"/validation message indicating the end date is invalid.
  • Spec: playwright/tests/integration/project.spec.ts (line 101)