Repository navigation
Unmask right sidebar chrome E2E tests - #4949
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adjusts two UI test files to relax assertion strictness and improve test robustness. App launch is no longer treated as an expected failure, and sidebar chrome height assertions are loosened from exact equality to minimum coverage checks. ChangesUI Test Assertion Relaxation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 17 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (17 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Greptile SummaryThis PR unblocks
Confidence Score: 5/5Test-only changes that remove masking wrappers and correct stale assertions; no production code is touched. Both files are UI test scaffolding. The removed XCTExpectedFailure wrappers were silently swallowing launch failures; removing them makes the suite correctly surface regressions. The assertion direction fix (>= instead of ==) accurately captures the intended hit-target invariant. No logic outside the test target is affected. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[app.launch] --> B[app.state check]
B -- runningBackground --> C[app.activate]
B -- other --> D[wait for runningForeground]
C --> D
D --> E[waitForJSONKey ready equals 1]
E --> F[XCTAssertEqual secondaryBarHeight == 28pt]
F --> G[XCTAssertGreaterThanOrEqual alphaTab.frame.height >= secondaryBarHeight]
G --> H[assert control heights match modeControlHeight]
H --> I[test passes]
style G fill:#d4edda,stroke:#28a745
Reviews (1): Last reviewed commit: "Fix right sidebar chrome hit-target asse..." | Re-trigger Greptile |
|
Actionable comments posted: 0 |
Summary
RightSidebarChromeHeightUITestsBonsplitTabDragUITestsVerification
Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.Note
Low Risk
Test-only changes to XCTest expectations and launch handling; no production UI or app logic.
Overview
Unmasks right-sidebar chrome E2E tests so launch failures surface on CI instead of being swallowed by non-strict
XCTExpectFailurearoundapp.launch()inRightSidebarChromeHeightUITests.Fixes outdated height checks that compared 28 pt in-app chrome metrics to Bonsplit pane tab frames from XCUITest. Those elements can be taller because of accessibility hit targets (~48 pt). Assertions now require the tab’s frame height to be at least the compact lane height, not equal to it—the same change in
BonsplitTabDragUITestsfor the cross-presentation-mode mode-bar test.Reviewed by Cursor Bugbot for commit 527aca4. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Unmasked the right sidebar chrome UI tests and fixed hit-target assertions so we compare 28 pt chrome lanes against 48 pt tab targets. Improves reliability on CI and aligns tests with intended visual vs accessibility metrics.
RightSidebarChromeHeightUITests.BonsplitTabDragUITests.Written for commit 527aca4. Summary will update on new commits.
Review in cubic
Summary by CodeRabbit
Release Notes