You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Two Design-mode tests in test_render_aim fail only on macOS since 118f31f6d: caret after leaving the mode, missing panel field #7284
Two Design-mode tests in tests/browser/test_render_aim.py fail only in the test-macos job of scheduled run 45805148564 on 7836b3859. Both pass on Linux in the same run, and both pass locally on Linux at main (ab811b350). Neither failed in the previous scheduled run, 45598918111 on 118f31f6d, so a change in 118f31f6d..7836b3859 is the lead. They haven't been bisected.
test_design_mode_reads_each_shape_of_control_into_the_anchor_its_routes_carry, subtest route='out of the mode' (test_render_aim.py:3008): expect(editor).to_have_text("Backup draft edited") reads B editedackup draft. The typed " edited" landed after the first character rather than at the end, so the caret the test expects at the end of the "Backup editor" contenteditable stood at offset 1 after leaving the mode.
test_automatic_design_capture_never_borrows_mutable_editor_context: expect(page.locator(".lf-fab-input")).to_be_visible() finds no element, so the panel field never opened.
Both involve leaving or entering Design mode around an editable region, so they may share a cause, but nothing has shown that yet. As running-tend's A red ci on main is live says, the next step is to dispatch each test alone on the macOS runner, then bisect over that range there. Candidates that touch carets, the panel field or editable regions include #7255, #7264, #7266 and #7267.
Both failures have one cause, and #7291 fixes it. On macOS, Playwright sends End as scrollToEndOfDocument:. That scrolls the page and leaves a native editor's caret where it stood. Each test pressed End to reach the end of a contenteditable. Since #7188 gave the document its end room, the caret test types at offset 1, and in the selection test End scrolls the page before the drag that should open the panel field. The tests now press Meta+ArrowRight on macOS (moveToRightEndOfLine:) and End elsewhere, so #7188's end room stays.
Evidence, with each run dispatching only these two tests to test-macos: main failed 6 of 6, 118f31f6d passed 6 of 6, and the bisect puts the first failure at 813d3262b (#7188). The fix branch passed 12 of 12 copies of each under load. The PR description has the runs. Under this repository's merge mode, tend-land carries #7291's CI and landing.
Activity
test: move a native editor's caret to its line's end with macOS's own…
test: move a native editor's caret to its end with Mod+End, which mac…
test: move a native editor's caret to its line's end with macOS's own…
leaf-agent commentedon Nov 26, 2026
Both failures have one cause, and #7291 fixes it. On macOS, Playwright sends End as
scrollToEndOfDocument:. That scrolls the page and leaves a native editor's caret where it stood. Each test pressed End to reach the end of acontenteditable. Since #7188 gave the document its end room, the caret test types at offset 1, and in the selection test End scrolls the page before the drag that should open the panel field. The tests now pressMeta+ArrowRighton macOS (moveToRightEndOfLine:) and End elsewhere, so #7188's end room stays.Evidence, with each run dispatching only these two tests to
test-macos:mainfailed 6 of 6,118f31f6dpassed 6 of 6, and the bisect puts the first failure at813d3262b(#7188). The fix branch passed 12 of 12 copies of each under load. The PR description has the runs. Under this repository's merge mode, tend-land carries #7291's CI and landing.