Skip to content

test: match the board, drawing-proxy and options-search tests to #6325, #6332 and #6344 - #6343

Merged
leaf-agent merged 3 commits into
mainfrom
fix/ci-3985-title-figure
Nov 18, 2026
Merged

leaf-agent merged 3 commits into
mainfrom
fix/ci-3985-title-figure

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Push run 44218332042 on 25e18501f failed three tests that changes since the last diagnosed run broke. Each test expected behavior that a merged change deliberately moved, so this PR updates the tests and leaves the runtime as main has it.

The quiet word now comes before a card's title, so a screen reader hears "my change Squirrel baffle". Placing it after the title without reading <strong> as a title is a question for the maintainer and isn't part of this repair.

The first two tests fail on main and pass on this branch locally. The fourth failure in the run, test_a_root_summary_keeps_thread_actions_outside_its_fold[1440-False-2], is #6139, which is assigned to the maintainer.

Refs #3985 — automated triage

…ests to #6325 and #6332

Push run 44218332042 on 25e1850 failed three tests that the changes since the
last diagnosed run broke.

- test_a_board_says_which_column_each_card_is_in: #6325 put an option's and a
  board card's title back in the author's leading <strong>, but quietWord still
  seated the provenance word after a [data-lf-said="label"] title, which a card
  no longer has. The word moved to the card's start, so a screen reader heard
  "my change" before the card's title. quietWord seats it after the card's
  <strong> again, as before #6289, and the test's snapshots read the title as
  the strong it now is.
- test_a_drawing_names_its_proxies_and_keeps_its_place_among_the_page: #6332
  names every part of an inline drawing "figure", so the proxies read
  "Responses to figure · Gallery". The test expects that.
- test_page_search_finds_a_shipped_options_chip_and_title_apart is deleted. It
  searched the shipped lf-options example for an option's title and a chip
  that touch with no text between them. Since #6325 the chips come before the
  title, separated by an authored space, so that example no longer has such a
  pair. The option-chip case of
  test_page_search_finds_words_css_draws_apart_with_nothing_between_them still
  covers a chip and a title that touch.

Refs #3985

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This conflicts with #6344, which max-sixty opened a minute later. That PR deletes quietWord's title lookup and always seats the quiet word at the element's start. This one reinstates a :scope > strong lookup, so they can't both land as written. Choosing between them means choosing between two goals. One is reading order: a card's provenance word ("my change") after its title, which this PR restores. The other is "Read what the page states": no reading of <strong> as a title, which #6289 and #6344 apply. Seating the word at the end of the element would keep the title first without reading the markup, but it moves the word after the card's prose. That is a call for the maintainer, so I'm not pushing either version.

The other two test changes are independent of this question. The figure proxy name and the deleted options-search test match #6332 and #6325, and test_page_search_finds_words_css_draws_apart_with_nothing_between_them's option-chip case still covers a chip and a title with nothing between them. They could land on their own if the quietWord change waits.

Comment thread browser/runtime/declared-words.js Resolved
# Conflicts:
#	browser/runtime/declared-words.js

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#6344 merged at 04:25, deleting quietWord's title lookup ("quietWord's lookup of a drawn title goes with it"). The base merge 9a417a49d resolved its conflict in browser/runtime/declared-words.js by keeping this PR's :scope > strong lookup, so landing this would undo a maintainer's merged decision and bring back a markup reading that "Read what the page states" rules out. The selector also matches any direct <strong>, not only a leading one, so the word can land mid-sentence.

I'm pushing a fix that takes main's quietWord and changes test_a_board_says_which_column_each_card_is_in's second snapshot to match what main draws: the quiet word comes before the card's strong title. Moving the word after the title without reading the markup is a separate question for the maintainer and isn't part of this CI repair.

…re its title

The merge of main kept this branch's :scope > strong lookup over #6344,
which deleted quietWord's title lookup. Take main's quietWord, and update
test_a_board_says_which_column_each_card_is_in's second snapshot to what
main draws: the quiet word "my change" before the card's strong title.
@leaf-agent leaf-agent changed the title fix: seat a card's quiet word after its strong title, and match two tests to #6325 and #6332 test: match the board, drawing-proxy and options-search tests to #6325, #6332 and #6344 Nov 18, 2026
@leaf-agent
leaf-agent merged commit df5d3b5 into main Nov 18, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-3985-title-figure branch November 18, 2026 05:47
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