Skip to content

Update scheduled UI tests for current asks and navigation - #3120

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-39026483536-nightly-tests
Oct 17, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-39026483536-nightly-tests

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The scheduled main run still had nightly browser and journey failures after the lf-ask browser repair in #3117. This updates the tests to the current user-visible behavior: an agent reply needs an explicit question to create ask attention; the contents map rests as a narrow spine; the Page Map includes the new group and both margin entries. It also keeps the render and rollback probes aligned with their current markup and paint sequence, and closes a background draft mirror after its cross-tab assertion so the subsequent foreground layout check observes only that page.

The shipped examples now carry a word-answer lf-ask rather than a seeded decision on a widget in a message. The corpus check still verifies the carried widget and reply render; the focused frozen-widget action test in tests/browser/test_render_application_boundary.py verifies an action replays into a thread widget. The visual-review Resume writing failure from the same run has a separate runtime fix.

Verification: the 15 affected focused cases passed locally on this exact branch (uv run pytest -q -n0 --tb=short, selected node IDs).

The ask cutover, compact contents rail, and current page map changed the behavior these journeys observe. Keep their user-facing assertions aligned with those paths, and remove the carried-decision corpus assertion now that no shipped example seeds such a decision. A focused browser test still covers a frozen widget action. Close the background mirror after its cross-tab assertion so later native editing is measured in the foreground page.
@leaf-agent
leaf-agent merged commit 8c9ace8 into main Oct 17, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39026483536-nightly-tests branch October 17, 2026 14:17
leaf-agent added a commit that referenced this pull request Oct 17, 2026
The [scheduled main
run](https://github.com/max-sixty/leaf/actions/runs/39026483536) failed
the visual-review journey after Resume writing focused a saved editor
that was still below the viewport. Editor arrival first reveals the
input, then may place its associated subject; that second placement can
move the input away. The shared arrival now finishes with a nearest
placement of the input, so the writing box remains visible while the
subject is still brought into view when the two fit. The committed
browser kernel is rebuilt.

Verification: the visual-review journey and both variants of the
existing draft attachment case passed locally (4 cases). Four
neighboring Resume writing cases passed, and `pnpm run check` passed.
The separate test expectation repairs from the same run are in #3120.
The intermittent paragraph-only case tracked in #3118 remains open;
these focused passes do not establish that it cannot recur.

Co-authored-by: leaf-agent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant