Skip to content

test: expect m to step on from On me's key-selected first row - #5198

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5152
Nov 3, 2026
Merged

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

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Two On me tests failed on main because #5039 changed where opening On me by a key puts focus. Since #5039, g then Shift+M from the page selects On me's first row, so a ring shows where Enter will go. A selected On card counts as standing on its obligation (declareSide in floating-panel.js). A walk steps off the stop the user is on (current-target.js). So the next m now lands on the second obligation, not the first. A bisect over cc5df725e..72afa89ec with a focused probe found #5039 as the first bad commit.

This PR keeps #5039's behaviour and updates the tests that expected the old start:

Behaviour these tests now lock in: g M then m lands on On me's second item. #5039 didn't say whether it meant to change m, so #5199 asks the maintainer to decide. The other option keeps the ring but restores the old walk start.

Both failing tests failed on 7ad92ebf0 and pass with this change. The obligation-walk test passes before and after. I ran all three three times.

Closes #5152 — automated triage

Since #5039, opening On me by a key selects its first row. A selected On card
stands on its obligation, so the next `m` steps on to the second obligation
instead of landing on the first. Two tests still expected the first; they now
expect the second, and the suggestion test reaches its suggestion with `m` then
`Shift+m`. The obligation-walk test's comment, "Opening On me from there holds no
other place", described the old start; its assertion now passes because stepping
off question 1 lands on question 2, and the comment says that.

Behavior changed in the tests: `g M` then `m` lands on On me's second item.

Closes #5152
@leaf-agent
leaf-agent merged commit 5f1811a into main Nov 3, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5152 branch November 3, 2026 08:33
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.

On me navigation leaves the reached suggestion unfocused

1 participant