Skip to content

test: put the link-preview fixture's eyebrow and heading in an hgroup, as #6264 requires - #6306

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6300
Nov 17, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-6300

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#6264 names a section only by the heading it opens with, alone or in an opening <hgroup>, and stops naming it by a heading found after an eyebrow. The LINKS_PAGE fixture's #stall section opened with <p>offline editing</p> before its <h2>, so under the new rule it had no name, and test_a_link_into_the_page_previews_where_it_points saw the preview fall back to the link's own words, "the reconnect stall". This is what #6264 intended: its description counts 54 real sections that open with an eyebrow and says page-authoring.md already teaches putting it in an <hgroup>.

The fixture now wraps the eyebrow and heading in an <hgroup>, so the section is named "iOS reconnect stall" again. The test's other check, that the excerpt leaves out what's drawn before the name, still holds with the eyebrow inside the <hgroup>. Product code is unchanged.

Verified locally: the journey failed on both browser and firefox_browser before the change, with the same assertion as the scheduled run, and passes on both after it. test_a_message_s_parts_follow_an_edit_the_card_held_as_news, the other test that uses LINKS_PAGE, also passes.

Closes #6300 — automated triage

… hgroup

#6264 names a section only by the heading it opens with, alone or in an
opening <hgroup>. LINKS_PAGE's `#stall` section opened with an eyebrow
paragraph before its <h2>, so it lost its name and the journey's link
preview fell back to the link's own words, "the reconnect stall". The
fixture now writes the eyebrow and heading in an <hgroup>, as
page-authoring.md teaches, so the section is named "iOS reconnect stall"
again and the preview still leaves the eyebrow out of its excerpt. No
behavior changes; the test's expectation follows #6264's rule.

Closes #6300
@leaf-agent
leaf-agent merged commit 0723e13 into main Nov 17, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6300 branch November 17, 2026 17:46
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.

test_a_link_into_the_page_previews_where_it_points: the link preview names 'the reconnect stall' since #6264

1 participant