Repository navigation
fix: read past the page start in the live-news continuity test - #4396
Merged
Merged
Conversation
The test passed in the October 24 and 25 scheduled runs, then failed at its source-revision step after #4124 deliberately made a page at scroll offset zero stay at its start. Inserting New context above the title therefore moved the reading target by 40.1875px as designed. Start this continuity journey 20px down, as the neighboring empty-region test already does, preserving the stable reading, draft selection, resting pointer and held-reply assertions without reversing the title-preservation decision. The existing test fails before this setup change and passes after it, including at 6x CPU throttling. Closes #4236
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.
The live-news continuity journey still expected a page at scroll offset zero to follow its old heading when a revision inserts context above it. #4124 deliberately changed that behavior to keep a page read from its start at its start, preserving the title. The reported 40.1875px shift occurs at that revision step; work status and the held reply already preserve their positions.
Start the journey 20px down before recording its reading, editor and Resolve positions. All existing assertions remain, including draft selection, resting-pointer hit testing, held news and the genuine growth released by opening the reply. No product behavior changes.
The existing test failed on main before this change and passes with it, including at 6× CPU throttling. The October 24 and 25 scheduled results passed before #4124; the October 26 results fail at the source-revision assertion on both Linux and macOS.
Closes #4236 — automated triage