Repository navigation
test: call the data-structures phone check's probe by its name since #5747, squeezedBoxes - #5786
Merged
Merged
Conversation
…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.
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.
test_the_data_structures_tables_read_on_a_phonecalls 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 insrc/leaf/render-checks/layout.jstosqueezedBoxes, 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 throwsunknown Leaf browser probe squeezedTablesfor a name it doesn't know (src/leaf/render-checks/driver.js).tests/journeysruns 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
mainand passes with the change.