Skip to content

test(editor): cover AcroForm controls in FormFieldsOverlay #67

Description

@McanKul

The AcroForm backend has broad coverage, but the React overlay that maps PDF fields to HTML controls has no focused component test.

Scope:

  • Cover text, multiline, checkbox, radio, combo and list controls.
  • Verify existing values and the onChange(name, value) payload.
  • Verify read-only and hidden fields cannot be edited.
  • Verify page filtering and fields without a usable rectangle.
  • Keep the test independent from the Tauri runtime.

Acceptance criteria:

  • Add a focused FormFieldsOverlay test suite.
  • Tests cover the control types and edge cases above.
  • Production behavior only changes if a test exposes a real bug.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: editorPDF editor and document interaction workgood first issueGood for newcomershelp wantedExtra attention is neededtestsTest coverage and test infrastructure

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions