Skip to content

Read the board's Space command through its grid row - #3922

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-40173703910-space-row
Oct 25, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-40173703910-space-row

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The native-control keyboard test still looked for an HTML tr after #3915 changed the command reference to ARIA grid rows. It therefore missed the existing “Grab the card” command and timed out in the failed main run.

Find the row by its accessibility role, preserving the assertions that it advertises Space, Space lifts the board card, and Escape drops it. This changes no product behavior. The focused test passes with the corrected selector; Ruff checks and formatting pass.

The run's separate resolved diff-thread layout-shift failure is being investigated independently.

The command reference switched from HTML table rows to ARIA grid rows in #3915. Update the native-control assertion to find that row by role, keeping the check that Space lifts the card and Escape drops it. No product behavior changes.
@leaf-agent
leaf-agent merged commit e7e01c8 into main Oct 25, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-40173703910-space-row branch October 25, 2026 08:51
leaf-agent added a commit that referenced this pull request Oct 25, 2026
Let the shift watch recognize standard caret navigation in text editors
even when the editor prevents the browser default to implement it
itself. CodeMirror's PageDown does that: its caret stays at the same
viewport offset while its content scrolls. The new watch from #3921
instead treated that intended movement as a forbidden scroll, failing
`test_file_editor_page_navigation_preserves_the_caret_position` in [the
main run](https://github.com/max-sixty/leaf/actions/runs/40176544925).

Read the caret keys from the runtime's canonical `CARET_KEYS` and
text-entry identity from its existing `typesText` reading. This changes
only the suite's judgment; editor behavior stays the same. Ordinary
edits and presses remain subject to the scroll check.

Validation: the original file-editor test reproduces the 552px finding
on main and passes after the correction. A new regression fails before
this change, then passes while also checking that an ordinary editing
key scrolling the same field still produces `gesture-scrolled`. All
seven existing gesture-scroll cases pass. Ruff checks and formatting
pass. The run's separate trace navigation declaration is in #3924, and
#3922 fixed its board-reference selector failure.

Co-authored-by: leaf-agent <[email protected]>
leaf-agent added a commit that referenced this pull request Oct 25, 2026
Declare the recording timeline's first/last capture commands as
`travels`, preserving their existing navigation and scroll behavior
under the gesture watch introduced by #3921. In [the failed main
run](https://github.com/max-sixty/leaf/actions/runs/40176544925), End
reached the last capture but the watch rejected its 784px scroll because
these two command rows lacked the declaration.

The exact failing test,
`test_trace_frames_retain_saved_elements_and_disclosure_stays_closable`,
reproduces on current main and passes with these declarations. Its
assertions still check that saved elements survive capture navigation
and the disclosure remains closable. The file-editor PageDown finding is
a separate watch correction being handled in this CI repair; #3922
already fixed the run's board-reference selector failure.

Co-authored-by: leaf-agent <[email protected]>
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.

1 participant