Repository navigation
fix: account for panel clearance in workspace tab geometry test - #4281
Merged
Merged
Conversation
PR #4269 moved bottom clearance into the final reading region. Measure the sole block against the tab content box while retaining the initial-to-upgraded height and inline-edge assertions. The original test fails with a 72px gap; the corrected test and five workspace clearance cases pass. Closes #4278
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.
The workspace tab test still expected its sole block to reach the panel's border edge after #4269 moved bottom chrome clearance inside the final reading region. That deliberate padding is the reported 72px gap. Measure against the panel's content box, retaining the checks that upgrade preserves the block's height and inline edges. This changes only the test, preserving #4269's layout and clearance behavior.
The original assertion reproduces the reported failure on current main. The corrected test and all five
test_workspace_end_room_stays_inside_the_last_reading_regioncases pass locally (6 passed). Those cases protect the clearance transfer introduced by #4269. Standalone Ruff could not run because its executable is absent in this environment.Closes #4278 — automated triage