Skip to content

Align browser checks with current controls and widget drawing - #2748

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38359427323-browser-readings
Oct 13, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38359427323-browser-readings

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Five browser cases in main CI run 38359427323 stop on readings the current interface no longer supplies. This updates those checks while retaining their user-facing assertions: the Done control is named as an ask, a blanket answer stays hidden until the server reads the log, Escape folds reaction choices before the test opens the margin choices again, and initial playground drawing uses the current one-argument API.

Each of the five exact cases failed before this edit and passed afterward (uv run pytest -q -n2 with their node IDs). The change is limited to test expectations and setup; the remaining failures in that run are separate.

@leaf-agent
leaf-agent merged commit 5509aef into main Oct 13, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38359427323-browser-readings branch October 13, 2026 11:54
leaf-agent added a commit that referenced this pull request Oct 13, 2026
The constrained margin scroll test prepends a 300 px scroller, then
assumes its new target is visible. In [main CI run
38392091985](https://github.com/max-sixty/leaf/actions/runs/38392091985),
browser scroll anchoring left the target and its correctly aligned
margin row at `top: -106`; the visibility assertion failed before the
test made its first inner scroll. This change brings the new target into
view after rendering, then checks the same margin alignment and
visibility through every scroll step.

The `sticky-ancestor` case failed on current `main` before the change.
After it, all three constrained-position cases passed locally (`uv run
pytest -q -n0
'tests/browser/test_render_margin.py::test_observed_scroll_retains_the_seat_of_a_constrained_target'`).
The run's other failures have separate repairs in #2748, #2749, #2752,
and #2753.

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