Repository navigation
test: compare the page map's selected marker with the location ring the decision draws - #5579
Merged
Merged
Conversation
…he decision draws #5116 moved the location ring off lf-ask's `::after` outline onto the decision's own outline while it wears `data-lf-projected-location`, so the test's read of `::after`'s outline colour fell back to the text colour. The test now reads the ring through the shared `LOCATION_RING` reader and asserts the margin marker matches its colour. No behaviour changed: the marker and the ring still share the accent. Closes #5492
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.
#5116 made the location ring the decision's own outline, drawn while it wears
data-lf-projected-location(target-paint.js,paintLocation), and removed lf-ask's ring rules.test_the_current_obligation_marks_its_selected_margin_readingstill read the ring from lf-ask's::afteroutline, which now falls back to the text colour (rgb(28, 27, 24)) while the margin marker keeps the accent (rgb(47, 84, 128)). The test now reads the ring through the sharedLOCATION_RINGreader inrender_cases_interaction.py, asserts it is drawn, and checks the selected marker matches its colour.This changes only the test's reading. #5116's intent, one ring drawn by the core painter, is kept, and nothing users see moves: the ring and the selected marker were the same accent before and after #5116. The test fails on
cb49ffb36with the issue's assertion and passes on this branch (uv run pytest --run-mainon the node id).Closes #5492 — automated triage