Skip to content

418 — should add price and time budget and then delete it

Description

Verifies that price and time budgets entered while creating an Agile project are persisted and rendered in the projects table, and that resetting them back to "no plan" from the project details page clears the totals.

Preconditions

  • Signed-in tenant on the Projects page.

Steps

  1. Click "Add project" and choose the "Agile" project kind.
  2. Set the title to the seeded project name and the prefix to the seeded project code.
  3. Enable price budget, enter 26,454, then toggle the price budget reset; enable time budget, enter 2,000 h, then toggle the time budget reset.
  4. Click "Create". Expected: a "Created" success toast is shown.
  5. Locate the new project row in the projects table. Expected: the time budget reads "0.00 h / 2,000.00 h" and the price budget reads "0.00 € / 26,454.00 €".
  6. Open the project's detail page and switch to the "Details" tab.
  7. Toggle the price budget and time budget back to "no plan" and click "Save". Expected: an "Updated" success toast is shown.
  8. Return to the projects list. Expected: the time budget reads "0.00 h / no plan" and the price budget reads "0.00 € / no plan".
  • Spec: playwright/tests/integration/project.spec.ts (line 151)