Skip to content

test: expect a thread summary to stand over the user's rewrite of a message it folds - #6991

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6989-summary-test
Nov 24, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-6989-summary-test

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_a_summary_folds_its_messages_where_they_stand has failed on main in Chromium and WebKit since #6947 (481e14069), which made a user's edit of a message under a thread summary leave the summary standing, with the agent deciding whether to summarize again. #6947 updated two other browser tests for that rule but not this one, whose last step still expected the user's rewrite to retract the checkpoint (Locator expected to have count '0', actual 1, in run 45337874948).

This keeps #6947's intent and changes only the test. The step now checks what the rewrite still owes a user standing on the summary's toggle: the new words draw at once, no notice holds them back, the message's frame keeps its loaded document, and the checkpoint stays. The docstring drops the retraction. No product code changes.

Both parametrizations fail on main at a0d859a5b and pass with this change.

Refs #6989 — automated triage

…essage it folds

Since #6947, a user's edit of a message under a thread summary leaves the
summary standing; the agent decides whether to summarize again. #6947
updated two browser tests for this but missed
test_a_summary_folds_its_messages_where_they_stand, whose last step still
expected the user's rewrite to retract the checkpoint, so it has failed in
Chromium and WebKit on main since.

The step now checks the behavior the rewrite still owes the user standing
on the summary's toggle: the new words draw at once without a held notice,
the frame keeps its document, and the checkpoint stays.

Refs #6989
@leaf-agent
leaf-agent merged commit 3129ec7 into main Nov 24, 2026
7 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6989-summary-test branch November 24, 2026 08: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