Repository navigation
fix(ui): header E2E checks fail after control sizing changes - #196269
Conversation
Keep exact sidebar spacing and native header assertions aligned with the intentional shell top-band sizing from #196131. Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR updates two existing browser test expectations to match the intentional 28px header controls. Example: The native conversation test opens a 700px-wide window with no explicit titlebar height.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR correctly updates stale geometry expectations without weakening coverage; no actionable defects were found, and exact-head CI passes. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherControl UI browser tests render session and native-conversation fixtures, measure header geometry, and compare it with explicit layout expectations. flowchart LR
A[Session fixtures] --> B[Control UI browser harness]
C[Native host fixtures] --> B
D[Production header styles] --> B
B --> E[Rendered geometry]
E --> F[Exact layout assertions]
Technical reviewBest possible solution: Keep the two corrected expectations in the existing browser scenarios and preserve all surrounding layout and interaction assertions. Do we have a high-confidence way to reproduce the issue? Current production CSS and the unchanged main assertions establish the geometry mismatch; no target code was executed during this review. Is this the best way to solve the issue? This is the smallest complete repair: it changes only the two obsolete expected values and their comments, retaining independent geometry measurements and interaction coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7554b069a703. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests 0. Total 0 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 9, 2026, 4:45 PM ET / 21:45 UTC. |
|
Merged via squash.
|
Keep exact sidebar spacing and native header assertions aligned with the intentional shell top-band sizing from openclaw#196131. Co-authored-by: steipete <[email protected]>
What Problem This Solves
Fixes the two Control UI E2E geometry expectations left stale by #196131, which intentionally standardized desktop header controls at 28px. Scheduled main run 42692902936 reported 14 vs 13px for both Person layouts and 56 vs 64px for the native conversation header.
User Impact
No production or visual change. The checks continue to enforce exact geometry for the intentional control sizing.
Why These Values Are Correct
The introducing commit
965e7d950e02f51d7d7b18eb3958ec60430df17dchanged the owner picker from 30px to 28px and desktop breadcrumb controls from 32px to 28px. Current source retains those contracts:ui/src/styles/sidebar-rail.csscenters the 28px picker in a 44px panel header.ui/src/styles/layout.cssadds the session list's 6px top margin, so the gap is(44 - 28) / 2 + 6 = 14px.ui/src/styles/chat/startup-layout.cssstacks the two 28px breadcrumb rows with zero gap in narrow desktop windows, giving a 56px intrinsic floor.Only those two expectations and their explanatory comments change. The 76px taller-host expectation and transcript alignment checks remain enforced.
Proof
Local replay used the PR head
e57bd018c968499ad0076094a150a9e86fad64dcmerged with then-current mainf683d5ffd214c84d2b75d91b82cde3aabc05fab2(local merge1ce8aa7142039062376d55568638c670d353fa65).session-ownership.e2e.test.tsnative-conversation.e2e.test.tspnpm tsgo:uigit diff --checkThe successful local run used the default pinned Bun runner and the installed Chromium 153 Playwright headless shell, with one worker. Chromium 156 headless shell stalled before the assertions under both Bun and Node; those attempts were stopped. An initial incorrect executable path also failed setup. No passing result is claimed for those attempts. No full Chrome, visible browser, Docker, or remote lease was used.
Scope
Two existing test files, +4/−4 lines; no net growth. Native conversation remains 571 lines and session ownership remains 1,043 lines (1,614 total before/after). Production LOC and assets are unchanged; startup-byte comparison, production Knip, and before/after screenshots are not applicable to this expectation-only repair.