Repository navigation
Tests: read the titlebar-height mirror through fullscreen's customTop - #17592
Merged
Merged
Conversation
Member
Author
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Summary
Repo tests (CPU, studio)fails on main since #17213, and on every PR based on it (seen in staging runs for #17496 and #17557):#17213 (F11 fullscreen) hides the custom titlebar in fullscreen, so the
<html>mirror inprovider.tsxnow reads:That is correct: in fullscreen the titlebar band is gone, and portalled sheets should start at the top edge. The test pinned the old line character for character, so it failed on a change that keeps everything it was written to protect. The mirror is still there, and it still gives 34px whenever the titlebar shows.
Change
tests/studio/test_desktop_reliability_frontend_contract.py:_mirrored_titlebar_heights()finds theset("--studio-custom-titlebar-height", usesCustomTitlebar ? <value> : null)call and resolves<value>. A string literal is read directly; a local such ascustomTopis read from itsconstdeclaration.test_fixed_sheets_start_below_the_custom_titlebarnow asserts that the mirror exists, that it yields34px, and that it yields nothing other than34pxor the fullscreen0px. The rest of the test is unchanged.test_the_titlebar_mirror_reader_follows_a_localcovers the reader: the old literal form, the new local form, and a different property that must not match.No app code changes.
Testing
tests/studio/test_desktop_reliability_frontend_contract.py: 46 passed (1 failed on main).provider.tsx, the test fails. With the shown height changed from34pxto30px, it also fails.