Repository navigation
test: retract the folding summary with the user's rewrite, not the agent's edit - #6644
Merged
Merged
Conversation
…ent's edit #6633 made the agent's own edit of a folded message leave its summary standing; only the user's rewrite, or their taking back a message, retires it. test_a_summary_folds_its_messages_where_they_stand still retracted its summary with an agent edit, so it waited for a checkpoint that now rightly stays. The edited message is now the user's, and the user rewrites it, as #6633 did for the summary-overlap test. The test still protects that a retraction draws at once for a user standing in the thread, leaving the frame loaded and the selection kept. Refs #6636
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test_a_summary_folds_its_messages_where_they_standfailed in both Chromium and WebKit onmain's push run 44859344032 (ffd552baa). After the agent edited a folded message, it waited for the summary's checkpoint to disappear, but the checkpoint stayed (Locator expected to have count '0',Actual value: 1).#6633 meant to change that: now the agent's own edit leaves its summary standing, and only the user's rewrite of a folded message, or their taking back a message, retires it. #6633 updated the summary-overlap test that way but missed this one. Here the edited message is the user's own reply and the user rewrites it. The test still checks what it is for: when a user standing in the thread sees the retraction, it draws at once, the frame keeps its loaded document, and the selection survives. No product code changes.
Locally, both parametrizations fail on
mainwith the CI assertion and pass on this branch.Refs #6636