Skip to content

test: compare the page map's selected marker with the location ring the decision draws - #5579

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5492
Nov 6, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5492

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#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_reading still read the ring from lf-ask's ::after outline, 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 shared LOCATION_RING reader in render_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 cb49ffb36 with the issue's assertion and passes on this branch (uv run pytest --run-main on the node id).

Closes #5492 — automated triage

…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
@leaf-agent
leaf-agent merged commit 9ab5e64 into main Nov 6, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5492 branch November 6, 2026 00:40
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.

test_the_current_obligation_marks_its_selected_margin_reading fails on main since #5116

1 participant