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