Skip to content

Playwright backend: 'Converting circular structure to JSON' on React inputs (Medplum Create click) #1908

Open

Description

@abrichr

The GUI save on Medplum's web app fails at the Create click with "Page.evaluate: Converting circular structure to JSON (HTMLInputElement __reactFiber...)": an evaluate call returns or serializes a DOM element with React internals. Return only plain data from page evaluate calls. Data: results/frozen-969cb939/medplum_patient.

Found by the API-step generalization experiment (internal#106); data in #1906 under results/. Fix generically (no app-specific code), fail closed, and add a real-app regression test.

Activity

  1. added
    bugSomething isn't working
    agent-readyReady for an automated agent to pick up
    claimedAn agent is working on this
    on Nov 4, 2026
  2. abrichr commented on Nov 5, 2026

    @abrichr
    MemberAuthor

    Claimed by Codex

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyReady for an automated agent to pick upbugSomething isn't workingclaimedAn agent is working on this

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions