Skip to content

fix(ui): header E2E checks fail after control sizing changes - #196269

Merged
steipete merged 1 commit into
mainfrom
loops/l471-ui-e2e-trio
Nov 10, 2026
Merged

steipete merged 1 commit into
mainfrom
loops/l471-ui-e2e-trio

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

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 965e7d950e02f51d7d7b18eb3958ec60430df17d changed 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.css centers the 28px picker in a 44px panel header. ui/src/styles/layout.css adds the session list's 6px top margin, so the gap is (44 - 28) / 2 + 6 = 14px.
  • ui/src/styles/chat/startup-layout.css stacks 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 e57bd018c968499ad0076094a150a9e86fad64dc merged with then-current main f683d5ffd214c84d2b75d91b82cde3aabc05fab2 (local merge 1ce8aa7142039062376d55568638c670d353fa65).

Check Result
session-ownership.e2e.test.ts 19/19 passed; 22.39s, including Person at 1200px and 390px
native-conversation.e2e.test.ts 3/3 passed; 5.79s, including Dashboard handoff and both compact-header heights
Combined focused replay 22/22 passed; 39.66s total
pnpm tsgo:ui Passed
git diff --check Passed
Independent Codex autoreview, P0–P2 Scoped-clean; no actionable findings
Existing exact-head CI run 42703259818 Passed; ci-gate publisher succeeded

The 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.

PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=<installed Chromium 153 headless shell> \
NODE_DISABLE_COMPILE_CACHE=1 node scripts/run-vitest.mjs run \
  --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner \
  ui/src/e2e/native-conversation.e2e.test.ts \
  ui/src/e2e/session-ownership.e2e.test.ts --maxWorkers=1

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.

Keep exact sidebar spacing and native header assertions aligned with the intentional shell top-band sizing from #196131.

Co-authored-by: steipete <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 9, 2026
@clawsweeper

clawsweeper Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The test expects a 64px header although the rendered header is 56px.
  • After: The test expects 56px while retaining the 76px expanded-header and transcript alignment checks.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A minimal, source-consistent test repair with passing browser CI; validation evidence is harness-based.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored, test-only repair changes no shipped behavior; passing exact-head Chromium E2E CI supports validation, and the inspected screenshots illustrate the preceding presentation change.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Browser regression checks fail on intentionally accepted header dimensions before completing their existing interaction coverage.
Reason: The maintainer-authored repair follows the merged sizing decision and restores useful coverage without changing production behavior.

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
Reviewed head: e57bd018c968499ad0076094a150a9e86fad64dc

Before merge

None.

Findings

None.

Agent review details

How this fits together

Control 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]
Loading

Technical review

Best 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

  • Native conversation header geometry changes intended behavior with a stated reason (fb0ad93: The earlier panel-layout work preserved the intrinsic narrow header floor, expanded host clearance, and transcript alignment; the later accepted sizing change reduced each breadcrumb row to 28px.)
  • Owner picker spacing assertion changes intended behavior with a stated reason (509d3f0: The earlier test repair deliberately matched accepted sidebar geometry while retaining owner alignment and interaction checks; the later 28px picker changes the measured gap by 1px.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit b3b7448 adds ui/src/e2e/native-conversation.e2e.test.ts:215 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b3b744850570; files: ui/src/e2e/native-conversation.e2e.test.ts)
  • RoboClaw: Raw commit e2b195b adds ui/src/e2e/session-ownership.e2e.test.ts:319 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: e2b195ba3b40; files: ui/src/e2e/session-ownership.e2e.test.ts)

PR surface

Tests 0. Total 0 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 4 4 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 4 4 0

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This repairs stale browser test expectations without changing product behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This repairs stale browser test expectations without changing product behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 9, 2026, 4:45 PM ET / 21:45 UTC.

@steipete
steipete merged commit 3e77219 into main Nov 10, 2026
101 checks passed
@steipete
steipete deleted the loops/l471-ui-e2e-trio branch November 10, 2026 03:31
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 10, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants