483 — should throw warning when end date is before start date¶
Description¶
Verifies that the task form rejects a due date that falls before the start date and shows the "end-before-start" validation warning instead of creating the task.
Preconditions¶
- Signed-in tenant with a seeded Advanced project.
- Currently on the seeded project's Tasks tab. Date pickers are only usable inside the open task form.
Steps¶
- Click "Add task" to open the task form.
- Fill in the title (random 4-word string).
- Pick the start date as today + 10 days and the due date as today + 5 days (so end < start).
- Click "Create".
- Inspect the form → Expected: an "End date must be after start date" warning is displayed and the task is not created.
Related¶
- Spec:
playwright/tests/integration/task.spec.ts(line 240)