Skip to content

test(ui): show observer headlines via previews in sidebar e2e - #178074

Merged
roboclaw-bot merged 1 commit into
mainfrom
fix/sidebar-observer-e2e-previews
Oct 20, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
fix/sidebar-observer-e2e-previews

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

Related: #177853

Requested by @Patrick-Erichsen (found while landing #178051).

Work sessions

What Problem This Solves

Fixes: checks-ui-e2e is red on main since #177853 because two e2e suites still expect critical observer headlines on default sidebar rows with previews off.

User Impact

User impact: no product change; main and PRs based on it get green UI e2e again.

Why This Change Was Made

#177853 intentionally keeps default sidebar rows to one line unless session previews are on. session-scoped-delivery (non-roster case) and critical-observer-notice use the observer headline on a sidebar row as their visible consumer, so they now run with previews on. Their contracts (scoped stream delivery; no toast, navigation, or Undo replacement for background observer assessments) are unchanged. A direct push to main was declined by the repository ruleset, so this goes through a PR.

Evidence

  • Main CI on a860374eede6 failed session-scoped-delivery.e2e.test.ts > preserves the visible consumers in preview-off presentation and critical-observer-notice.e2e.test.ts > keeps background observer assessments in the sidebar…; both reproduce locally on current main (locator timeouts waiting for the headline).
  • With this change: pnpm test:ui:e2e ui/src/e2e/session-scoped-delivery.e2e.test.ts ui/src/pages/chat/critical-observer-notice.e2e.test.ts → 5 passed.
  • pnpm tsgo:ui, format check, git diff --check: pass.

#177853 keeps default sidebar rows on one line unless previews are on, so the
observer headline assertions in the scoped-delivery and observer-notice e2e
suites timed out on main. Turn previews on where those suites assert the
sidebar headline as the visible consumer.

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

clawsweeper Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 20, 2026 05:07
@roboclaw-bot
roboclaw-bot merged commit 4682176 into main Oct 20, 2026
74 checks passed
@roboclaw-bot
roboclaw-bot deleted the fix/sidebar-observer-e2e-previews branch October 20, 2026 05:11
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

roboclaw-bot added a commit that referenced this pull request Oct 20, 2026
#178074 renamed the preview-off case to preview-on but kept its branch, which no longer typechecks (TS2367) and broke check-test-types on main. Assert the observer headline in the preview-on row instead.

Co-authored-by: Patrick-Erichsen <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
…aw#178074)

openclaw#177853 keeps default sidebar rows on one line unless previews are on, so the
observer headline assertions in the scoped-delivery and observer-notice e2e
suites timed out on main. Turn previews on where those suites assert the
sidebar headline as the visible consumer.

Co-authored-by: Patrick-Erichsen <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
…aw#178096)

openclaw#178074 renamed the preview-off case to preview-on but kept its branch, which no longer typechecks (TS2367) and broke check-test-types on main. Assert the observer headline in the preview-on row instead.

Co-authored-by: Patrick-Erichsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant