Summary
Follow-up from #382 Slice 4 (AdvancedFieldTypesTests honesty pass).
Unit tests can observe stored configuration (allowedTypes, maxFileSize, suggestions, field, formState round-trips) and hostability. They cannot honestly claim:
- Rich text editing mode toggle (private
@State isEditing) without VI/XCUI
- Suggestion selection UI (needs hosted interaction or extracted callbacks)
- Drag-and-drop / browse file picker (
selectFiles / handleDrop are placeholders)
- Invalid type / max-size enforcement — product does not yet reject; no decision logic to unit-test
- Accessibility labels/hints on the view tree — needs ViewInspector or XCUI on lanes that link VI
Acceptance
Related
Summary
Follow-up from #382 Slice 4 (
AdvancedFieldTypesTestshonesty pass).Unit tests can observe stored configuration (
allowedTypes,maxFileSize,suggestions,field, formState round-trips) and hostability. They cannot honestly claim:@State isEditing) without VI/XCUIselectFiles/handleDropare placeholders)Acceptance
Related