Skip to content

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

  1. Click "Add project" and pick the "Simple" project kind.
  2. Set the title to the seeded project name and the prefix to the seeded project code.
  3. Pick the seeded client from the Client dropdown.
  4. 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.
  5. Add three labels to the project (label 1, label 2, label 3) and click "Create". Expected: a "Created" success toast is shown.
  6. 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.
  7. Click the project row to open its detail page. Expected: the project detail page header shows the project title.
  8. Open the "Details" tab. Expected: the three labels added in step 4 are listed on the project.
  • Spec: playwright/tests/integration/project.spec.ts (line 60)