Repository navigation
test: anchor the nested-passage thread walk's thread on a section the page holds - #7372
Merged
Merged
Conversation
… page holds The fixture named section `far`, which the page never defines. Since #7353 a quote whose named section the page doesn't hold is placed nowhere, so the thread had no passage to reveal and the walk moved neither the rail nor the local scroller. The anchor now names `#local`, which encloses the passage; the test's behaviour is unchanged. Closes #7370
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_thread_walk_starts_one_page_trip_and_reveals_its_nested_passagehas been failing onmainsince #7353. That change made a quote whose named section the page doesn't hold place nowhere, where before the search ran over the whole page. The test's fixture anchors its thread with("far", "Far-side passage"), but the page has noid="far". So the thread had no passage, the walk had nothing to reveal, and the press left every scroller at 0 ({'page': 0, 'rail': 0, 'local': 0}). The fixture now nameslocal, the scroller that holds the passage. That restores what the test exercises without changing its assertions or #7353's rule.Verification, run locally by node id with
--run-main:37e0cb217(Let the browser alone place the words an agent's comment quotes #7353) and on currentmain, and passes on37e0cb217^;main.The failure appeared in run 45948475842, the only failure in that run's
testjob (1 failed, 8320 passed).Closes #7370 — automated triage