/** * Phase 6 of Discussion #1174 — byline edit form custom-field tests. * * PR plan §228: "Component test: register a field via mock API, open * the form, verify input renders, fill + submit, verify PATCH body * includes `customFields` with the entered value." * * The test stubs the byline + byline-fields APIs, mounts the bylines * page in a QueryClient + Toast.Provider wrapper, simulates selecting * an existing byline (which puts the form in edit mode where custom * fields render), and asserts the PATCH body forwarded to * `updateByline` includes the typed value. * * vitest-browser-react + Playwright actionability: Kumo's * `Dialog` overlay blocks clicks inside dialog bodies, but the * bylines page renders the sidebar list as plain `