Skip to content

test: call the data-structures phone check's probe by its name since #5747, squeezedBoxes - #5786

Merged
leaf-agent merged 1 commit into
mainfrom
nightly/site-squeezed-boxes
Nov 10, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
nightly/site-squeezed-boxes

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

test_the_data_structures_tables_read_on_a_phone calls a render-check probe that no longer exists, so all three of its widths fail. This renames the call to the probe's current name.

#5769 added the test with evaluate_probe(page, "squeezedTables"). #5747 landed after it and renamed that probe in src/leaf/render-checks/layout.js to squeezedBoxes, which now reports a code block squeezed too narrow to read as well as a table. #5747 updated every caller that existed when it was written, but not this new one. The driver throws unknown Leaf browser probe squeezedTables for a name it doesn't know (src/leaf/render-checks/driver.js). tests/journeys runs only on schedule, so neither pull request's CI ran the test.

The test now keeps both pull requests' intent. The data-structures reference must read on a phone, and with the wider probe that also covers its code blocks.

Verified locally: the test fails at 640, 600 and 360 px on main and passes with the change.

…5747, squeezedBoxes

#5769 added test_the_data_structures_tables_read_on_a_phone calling the squeezedTables probe; #5747, landing after it, renamed the probe squeezedBoxes, which also reports a code block too narrow to read. The driver throws for an unknown probe, so all three widths failed. The test now also holds the reference's code blocks to reading on a phone.
@leaf-agent
leaf-agent merged commit 2de0b37 into main Nov 10, 2026
6 checks passed
@leaf-agent
leaf-agent deleted the nightly/site-squeezed-boxes branch November 10, 2026 06:58
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