656 — Create project with non-default budget scope selectors and persist¶
Description¶
PT-5832 unifies the Time Budget and Price Budget scope selectors on the Project
form. The Time Budget now has a source radio (All time / Billable time)
mirroring the Price Budget source radio (Cost / Revenue). This scenario
verifies that non-default source picks are submitted and round-trip through the
save (re-open Details shows the same selection).
Preconditions¶
- Authenticated user on a fresh org.
- Form defaults: time source = "All time", price source = "Revenue".
Steps¶
- Open the create-project form (Simple → Blank). — Expected: form renders with budget source radios.
- Set title, code, time budget value, select time source "Billable time"; set price budget value, select price source "Cost". — Expected: "Billable time" and "Cost" radios are checked (flipped from defaults).
- Create the project. — Expected: "Created" snackbar.
- Open the project → Details tab. — Expected: time source = "Billable time" and price source = "Cost" remain selected.
Related¶
- Spec: playwright/tests/integration/project.spec.ts (describe "Budget scope selectors")
- Ticket: PT-5832