415 — should create new project with all fields¶
Description¶
Verifies that a Simple project can be created with every available field populated (title, code/prefix, client, start/end dates, labels) and that the new row in the projects table reflects each of those values correctly.
Preconditions¶
- Signed-in tenant on the Projects page.
- A seeded client and three seeded labels are available for selection.
Steps¶
- Click "Add project" and pick the "Simple" project kind.
- Set the title to the seeded project name and the prefix to the seeded project code.
- Pick the seeded client from the Client dropdown.
- Open the Start date picker and choose a date 5 days in the past; open the End date picker and choose a date 5 days in the future.
- Add three labels to the project (label 1, label 2, label 3) and click "Create". Expected: a "Created" success toast is shown.
- On the projects table, locate the new project row. Expected: the row shows the project title, the seeded client name, status "To Do", time budget "0.00 h / no plan", price budget "0.00 € / no plan", and the chosen end date in the Due date column.
- Click the project row to open its detail page. Expected: the project detail page header shows the project title.
- Open the "Details" tab. Expected: the three labels added in step 4 are listed on the project.
Related¶
- Spec:
playwright/tests/integration/project.spec.ts(line 60)