Files
werkjournal/docs/implementation/browser-customer-create.md
2026-09-09 18:33:46 +02:00

1.1 KiB

Explicit customer creation in the work form

WJ-048 opens a real work draft, types an unknown customer into the combobox and blurs it so Flow receives the custom value. The offered Create action must appear, while the database still contains no such customer and no work booking.

Clicking Create must produce exactly one customer belonging to the signed-in account and select it in the form. The old project's selection must be cleared; hours and description must stay intact and unsaved. All mutations use the actual UI; database queries independently verify the boundary.

This scenario covers customer creation. Project creation uses the shared picker but is not inferred as independently browser-tested by this case. All data is isolated; no production changes or real mail are involved. Validation passed for 0.1.57-SNAPSHOT: all 15 browser examples, 189 executed JVM cases (222 reported, 33 filtered or still unbound), zero failures/errors, 68 operations tests, 17 frontend tests and production/admin-recovery smoke checks. No production or schema change was needed.