Skip to content

Fifty browser tests fail on main since #5614 moved control labels and titles into previews #5632

Closed

Description

@leaf-agent

Since #5614 (4248d1f4c, "Pointing reads; pressing acts: one owner previews every control"), 50 browser tests fail on every ci push run on main. Push run 42203695127 at its parent 62cb54fc8 passed all of them. 42246533122 at 4248d1f4c is the first that fails them, and they still fail in 42320062138 at ef6c01ed8. #5614 is the only commit between those two runs. The PR's own test job ran only the browser tests whose source it edited, so unchanged consumers first failed on main.

On current main 903e1d106 I reran ten of these tests locally with uv run pytest --run-main, and all ten still fail as they did on CI: 12 test failures and 2 teardown errors. The body of test_the_leaf_paints_inside_its_focus_ring_after_folding passes, but its teardown errors. The failures fall into these shapes, and each shape's cause still needs to be established:

  • Surfaces Pointing reads; pressing acts: one owner previews every control #5614 replaced on purpose. Most failures read what the PR's "Behaviour changes against main" says it removed: title tooltips and their accessible descriptions (Locator expected to have accessible description, a title regex on All pages rows, the option card's One mechanism for any number of blocks.), margin entry labels (.lf-margin-entry-label visibility), the folded Leaf's status peek, the diff row's path box, the gloss's hover card. Escape now first puts away a standing preview, which matches test_a_press_away_takes_back_a_reaction_s_offered_remove (Escape leaves keep reaction actions at aria-expanded="true") and the document.activeElement === document.body checks after a layer is left. Where a test's expectation is one the PR replaced, the repair updates the test to the guarantee it still protects.
  • Possible product regressions, which need a closer look before any test changes:
    • teardown errors #text in span.lf-preview-word moved without input by (89, 0)px; the same frame moved div.lf-preview-face on four floating-panel fold tests: the input-free motion watch catches the new preview moving.
    • leaf: thread surface lf-test-surface#broken failed: Thread surface lf-test-surface returned an outlet outside its presentation owner at teardown of the thread-surface fallback tests.
    • leftover counts (Locator expected to have count '0' Actual value: 1, or 6 on .lf-go-to-hints) in the rewrite, reaction and go-to tests, where a preview or hint may outlive the gesture that should end it.

Two tests in this set also failed intermittently before #5614 (test_tab_walks_into_and_out_of_a_full_view_sample, test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[replied-browser], with earlier failures that came and went). Since 4248d1f4c they fail on every run, and each needs its newest diagnostic read before it's matched to this cause.

Following Reading a red suite in .claude/skills/running-tend/SKILL.md: #5614's description lists the behavior it changed on purpose, so for each test, decide whether the expectation is one it replaced (update the test) or a guarantee it broke (fix the code, keeping the PR's intent). Split this issue if the shapes turn out to have separate mechanisms.

Failing tests in run 42320062138 with their deciding messages
  • controls.test_live_samples::test_tab_walks_into_and_out_of_a_full_view_sample: AssertionError: Locator expected to be focused Actual value: None Error: element(s) not found Call log: - Expect "to_be_focused" locator("#first-practice").get_b
  • controls.test_press_away::test_a_press_away_takes_back_a_reaction_s_offered_remove: AssertionError: Locator expected to have attribute 'false' Actual value: true Call log: - Expect "to_have_attribute" get_by_role("button", name="keep reacti
  • controls.test_status_and_news::test_a_panel_row_follows_its_pages_status_live: AssertionError: Locator expected to have attribute 'The other leaf /tmp/pytest-of-runner/pytest-0/popen-gw2/test_a_panel_row_follows_its_p0/other-work Ready' Actual
  • margin.test_clusters::test_keyboard_arrival_at_a_cluster_shows_all_its_entries_for_the_keys_to_walk: AssertionError: Locator expected to be focused Actual value: inactive Call log: - Expect "to_be_focused" locator("[data-lf-margin-for="sug
  • margin.test_entries::test_every_pin_entry_shares_its_face_and_keeps_its_behavior: AssertionError: Locator expected to be visible Actual value: hidden Call log: - Expect "to_be_visible" locator("[data-lf-margin-for="schedule"]").locator(":
  • navigation.test_command_reference::test_the_reference_keeps_local_search_state_on_one_lit_surface: AssertionError: Locator expected to have attribute 'true' Actual value: None Error: element(s) not found Call log: - Expect "to_have_attribut
  • navigation.test_command_reference::test_the_reference_runs_available_commands_and_explains_the_rest: AssertionError: Locator expected to have count '1' Actual value: 0 Call log: - Expect "to_have_count" locator(".lf-command-reference").loca
  • navigation.test_key_scopes::test_a_layer_is_left_the_same_way_however_it_was_reached: AssertionError: assert False + where False = evaluate('() => document.activeElement === document.body') + where evaluate = <Page url='http://127.0.0.1:
  • startup.test_thread_surfaces::test_a_failed_thread_surface_continues_the_keyboard_opened_reply: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" locator("#hea
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[detached]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" lo
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[hidden]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" loca
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[invalid-count]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_descriptio
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[invalid-count] (teardown): failed on teardown with "AssertionError: http://127.0.0.1:38631/: leaf: thread surface lf-test-surface#broken failed: A Thread plac
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[invalid-outlet]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_descripti
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[invalid-outlet] (teardown): failed on teardown with "AssertionError: http://127.0.0.1:36053/: leaf: thread surface lf-test-surface#broken failed: A Thread out
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[moved]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" locat
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[moved] (teardown): failed on teardown with "AssertionError: http://127.0.0.1:33847/: leaf: thread surface lf-test-surface#broken failed: Thread surface lf-tes
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[outletFor]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" l
  • startup.test_thread_surfaces::test_a_failed_thread_surface_returns_its_threads_to_core_fallback[outletFor] (teardown): failed on teardown with "AssertionError: http://127.0.0.1:43553/: leaf: thread surface lf-test-surface#broken failed: surface fixture:
  • startup.test_thread_surfaces::test_a_moved_thread_outlet_continues_the_pointer_opened_reply: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" locator("#health
  • startup.test_thread_surfaces::test_a_moved_thread_outlet_continues_the_pointer_opened_reply (teardown): failed on teardown with "AssertionError: http://127.0.0.1:42197/: leaf: thread surface lf-test-surface#broken failed: Thread surface lf-test-surface r
  • test_render_anchors::test_one_key_keeps_one_keyboard_face_across_the_page: AssertionError: Locator expected to have count '0' Actual value: 6 Call log: - Expect "to_have_count" locator(".lf-go-to-hints .lf-go-to-hint") with timeout 120000ms
  • test_render_application_boundary::test_primary_reading_holds_remote_changes_before_package_layout[Conversation]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_descripti
  • test_render_application_boundary::test_primary_reading_holds_remote_changes_before_package_layout[Feed]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" loca
  • test_render_controls::test_all_pages_opens_a_neighbour_in_a_tab_of_its_own: AssertionError: Locator expected to have attribute 're.compile('^long\n/tmp/pytest\-of\-runner/pytest\-0/popen\-gw0/test_all_pages_opens_a_neighbo0/self\-work\n
  • test_render_floating_panel::test_a_pointer_press_on_the_joined_notice_lands_the_walk_on_its_row: AssertionError: Locator expected to have attribute '1 new thread' Actual value: None Call log: - Expect "to_have_attribute" locator(".lf-fp-joi
  • test_render_floating_panel::test_the_folded_leaf_keeps_its_badge_and_face_through_motion (teardown): failed on teardown with "AssertionError: http://127.0.0.1:36821/versions/v1.html: #text in span.lf-preview-word moved without input by (586, 1)px; the sa
  • test_render_floating_panel::test_the_leaf_paints_inside_its_focus_ring_after_folding (teardown): failed on teardown with "AssertionError: http://127.0.0.1:41791/versions/v1.html: #text in span.lf-preview-word moved without input by (139, 0)px; the same f
  • test_render_floating_panel::test_the_leaf_travels_with_its_fold_and_reverses_from_where_it_stands[dark] (teardown): failed on teardown with "AssertionError: http://127.0.0.1:34059/versions/v1.html: #text in span.lf-preview-word moved without input by (-4
  • test_render_floating_panel::test_the_leaf_travels_with_its_fold_and_reverses_from_where_it_stands[light] (teardown): failed on teardown with "AssertionError: http://127.0.0.1:36901/versions/v1.html: #text in span.lf-preview-word moved without input by (-
  • test_render_navigation::test_the_pr_walkthrough_exercises_an_inline_diff_thread: AssertionError: assert False + where False = evaluate('() => document.activeElement === document.body') + where evaluate = <Page url='http://127.0.0.1:34711
  • test_render_reactions::test_a_reply_s_reactions_keep_their_keys_in_a_covering_thread_view: AssertionError: Locator expected to have count '0' Actual value: 1 Call log: - Expect "to_have_count" locator(".lf-fp-view[data-lf-route="thread"]:
  • test_render_reactions::test_a_token_press_marks_the_passage_and_its_revealed_remove_takes_it_back: AssertionError: Locator expected to be focused Actual value: inactive Call log: - Expect "to_be_focused" locator(".lf-margin-cluster[data-lf-
  • test_render_reactions::test_putting_a_reaction_down_folds_back_only_the_cluster_it_unfolded: AssertionError: Locator expected to be visible Actual value: hidden Call log: - Expect "to_be_visible" locator("[data-lf-margin-for="sug-refill"]
  • test_render_reactions::test_the_fold_a_put_down_takes_back_does_not_take_the_users_focus: AssertionError: Locator expected to have count '0' Actual value: 6 Call log: - Expect "to_have_count" locator("[data-lf-margin-entry-owner="responses
  • test_render_read_state::test_a_reply_in_a_diff_thread_draws_where_the_user_is_and_waits_elsewhere[notice]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" lo
  • test_render_read_state::test_a_reply_in_a_diff_thread_draws_where_the_user_is_and_waits_elsewhere[return]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" lo
  • test_render_read_state::test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[opened-browser]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" lo
  • test_render_read_state::test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[opened-firefox_browser]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_descrip
  • test_render_read_state::test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[pressed-browser]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" l
  • test_render_read_state::test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[replied-browser]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" l
  • test_render_read_state::test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[tabbed-browser]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" lo
  • test_render_read_state::test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[walked-browser]: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" lo
  • threads.test_agent_replies::test_held_news_says_one_count_of_all_it_holds: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" locator("#jobs .lf-page-thread").g
  • threads.test_rewrites::test_a_rewrite_is_the_reply_box_where_the_words_stood[card]: AssertionError: Locator expected to have count '0' Actual value: 1 Call log: - Expect "to_have_count" locator(".lf-margin-preview").locator(".lf-msg[data-lf
  • threads.test_rewrites::test_a_rewrite_is_the_reply_box_where_the_words_stood[feed]: AssertionError: Locator expected to have count '0' Actual value: 1 Call log: - Expect "to_have_count" locator("#workspace").locator(".lf-primary-part .lf-ms
  • threads.test_rewrites::test_a_rewrite_is_the_reply_box_where_the_words_stood[panel]: AssertionError: Locator expected to have count '0' Actual value: 1 Call log: - Expect "to_have_count" locator(".lf-fp-view[data-lf-route="thread"]:not([d
  • threads.test_rewrites::test_a_rewrite_is_the_reply_box_where_the_words_stood[seat]: AssertionError: Locator expected to have count '0' Actual value: 1 Call log: - Expect "to_have_count" locator("#cd-q .lf-page-thread").first.locator(".lf-ms
  • threads.test_summaries::test_a_later_summary_replaces_its_overlap_and_an_edit_restores_originals: AssertionError: Locator expected to have accessible description Actual value: Call log: - Expect "to_have_accessible_description" locator(".l
  • widgets.test_diffs::test_a_file_row_a_revision_brings_reads_its_cut_path: AssertionError: Locator expected to have attribute '' Actual value: None Call log: - Expect "to_have_attribute" locator("lf-diff .lf-diff-head").first with timeout 12
  • widgets.test_obligations::test_obligation_contextual_bindings_are_independent_of_widget_bindings: AssertionError: Locator expected to have attribute '3' Actual value: 3 x y Call log: - Expect "to_have_attribute" get_by_role("button", name="
  • widgets.test_on_panel::test_an_option_s_choice_on_its_card_says_what_it_gives: AssertionError: Locator expected to have attribute 'One mechanism for any number of blocks.' Actual value: None Call log: - Expect "to_have_attribute" locator(".
  • widgets.test_playgrounds::test_a_playground_opens_its_instruction_over_the_page: AssertionError: Locator expected to be hidden Actual value: visible Call log: - Expect "to_be_hidden" locator("#fold-playground").locator("lf-playground-output

Cause of a failure tracked in #3985.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    One more consumer with this issue's preview-motion signature: tests/browser/test_render_floating_panel.py::test_threads_holds_a_row_that_joins_or_moves_behind_a_notice errors at teardown since #5618 (ef6c01ed8, "Thread and age previews…"). It passed in push run 42264154777 at 1d5249cd0, the commit just before, and errors in 42320062138 at ef6c01ed8. It still errors locally on main 903e1d106:

    #text in span.lf-preview-word moved without input by (324, 0)px; the same frame moved leaf-floating-panel.lf-ui.lf-floating-panel, div.lf-fp-view
    

    That's the same shape as the four fold tests here, but a thread row's preview from #5618 is moving, so the repair to how the motion watch credits a moving preview probably covers this test too.

  3. leaf-agent commented on Nov 7, 2026

    @leaf-agent
    CollaboratorAuthor

    #5629 (d2abaa215) and #5638 (ec2799b1d) merged after this issue's evidence was gathered. Between them, they fix the three preview gaps behind these failures, update the tests whose expectations #5614 replaced, and make the shift watch credit a preview riding its target, which covers the teardown errors, test_threads_holds_a_row_that_joins_or_moves_behind_a_notice included. Run locally on main ec2799b1d, nine of these tests now pass: test_a_press_away_takes_back_a_reaction_s_offered_remove, test_a_moved_thread_outlet_continues_the_pointer_opened_reply, test_a_rewrite_is_the_reply_box_where_the_words_stood[panel], test_a_reply_in_a_diff_thread_draws_where_the_user_is_and_waits_elsewhere[notice], test_threads_holds_a_row_that_joins_or_moves_behind_a_notice, test_the_leaf_paints_inside_its_focus_ring_after_folding, test_a_playground_opens_its_instruction_over_the_page, test_all_pages_opens_a_neighbour_in_a_tab_of_its_own and test_escape_passes_a_manual_popover_the_user_is_not_in (#5640). I ran only those nine, so the rest of the list still needs checking on current main before this closes.

  4. leaf-agent commented on Nov 7, 2026

    @leaf-agent
    CollaboratorAuthor

    Every test this issue lists now passes on main ec2799b1d, so I'm closing it. The previous comment covered nine of them. I ran the other 48 cases locally with uv run pytest --run-main and all 48 passed, the Firefox variant of test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them included. Between them, #5629 and #5638 handle both groups: tests whose expectations #5614 replaced are updated to the new previews, and the shift watch now credits a preview that moves with its target, which accounts for the teardown errors.

    test_tab_walks_into_and_out_of_a_full_view_sample and test_replies_held_in_a_page_seat_show_when_the_user_turns_to_them[replied-browser] were intermittent before #5614. I ran each once here, which can't show their earlier flake is gone. The ci push run at ec2799b1d (42366786261) is still running. If either test fails there, the report will bring it back as a new cause.

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