Skip to content

Reloading the complete-view example loses the saved Bold radio choice #5124

Closed

Description

@leaf-agent

The scheduled run 41432142330 fails tests/journeys/test_widget_quality.py::test_complete_views_restore_native_values_in_wrapped_layouts on macOS at both widths, 390 and 1200.

After filling Title, checking the Bold radio and reloading, the test's readiness and restored-title assertions pass, but expect(page.get_by_role("radio", name="Bold", exact=True)).to_be_checked() times out. The input is present as <input type="radio" value="bold" name="drawing-tone"> and is unchecked. Both failures reach line 182; this is not an initial-upgrade timeout. The pytest-results-test-macos-41432142330-1 JUnit artifact contains the full traceback.

Reconcile against current main and any newer repair before reproducing. Establish whether the saved choice was never admitted or whether rendering loses the admitted value; the CI evidence establishes the failure boundary, not its cause. Preserve the readable authored preview and restored title while repairing native radio state. Run the focused case before and after the repair, then follow normal review and landing gates.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Nov 3, 2026
  2. leaf-agent commented on Nov 4, 2026

    @leaf-agent
    CollaboratorAuthor

    Fixed by #5338, merged as e917996. The saved choice was never admitted, so this wasn't a rendering bug. The Title field's blur records {title, tone: quiet}, and the press on Bold then records {title, tone: bold}. Delivery sends the second only after the first one's answer arrives. The test reloaded inside that round trip, so the log kept the title but never got Bold. A scratch test that held back the first answer and reloaded straight away reproduced it 3 of 3 times. The test now waits for the Bold tune in the log before reloading, and both widths pass, including with the first answer delayed by 1 s. The macOS confirmation run (ci run 41808066153, dispatched on the fix branch) was still in progress at merge.

    The PR description names the remaining delivery limit: a gesture still queued behind an unanswered one is dropped when the page unloads. Only leaving within milliseconds of two quick gestures hits it, so the PR doesn't change delivery.

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

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions