Skip to content

test(ui): advertise Agent Settings tools reads in screen routing e2e - #197016

Merged
obviyus merged 1 commit into
mainfrom
fix/ui-screen-requester-routing-fixture
Nov 11, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/ui-screen-requester-routing-fixture

Conversation

@obviyus

@obviyus obviyus commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: ui/src/e2e/screen-requester-routing.e2e.test.ts ("opens the selected session and its app views only in the browser that asked the agent") fails on every run on main. Main CI skips the UI e2e suites on main pushes, so it went red unnoticed and now blocks ci-gate on unrelated PRs (seen on #196480).

User Impact

User impact: none. Test fixture only.

Why This Change Was Made

Bisected between 81ab38d (passes) and main (fails): first bad commit 086d257 (#196457, "hide unavailable Agent Settings panels"). Agent Settings panels now render only when the Gateway advertises their read methods. That PR updated the other e2e fixtures to advertise agents.list and the tools reads, but this test's mock Gateway was missed. Its reconnect-github step navigates to /settings/agents/main/tools and waits for tools.github.status, which the now-hidden Tools panel never requests, so the wait times out at line 201.

The fixture now advertises agents.list, tools.catalog and tools.effective, matching how #196457 updated agent-config-save.e2e.test.ts. No assertions change.

Evidence

  • Before, on main 63db599: Tests 1 failed (1), TimeoutError: waitForFunction at waitForRequest("tools.github.status"), reproduced 3 times.
  • After: Tests 1 passed (1), 2 consecutive runs (clean env).
  • Bisect trace: 81ab38d pass, 685f18a/474b4ce/e2a1807 pass, dc0ab02 fail, 5bffc70/73a0ce1/584084d pass, 277e32c fail, 086d257 fail (first bad).

#196457 hides Agent Settings panels the Gateway does not advertise; this
fixture's reconnect-github step waits for tools.github.status from the
Tools panel, which no longer rendered.

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

clawsweeper Bot commented Nov 11, 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. labels Nov 11, 2026
@obviyus
obviyus merged commit a7eb4eb into main Nov 11, 2026
80 checks passed
@obviyus
obviyus deleted the fix/ui-screen-requester-routing-fixture branch November 11, 2026 04:10
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 11, 2026
…penclaw#197016)

openclaw#196457 hides Agent Settings panels the Gateway does not advertise; this
fixture's reconnect-github step waits for tools.github.status from the
Tools panel, which no longer rendered.

Co-authored-by: obviyus <[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 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. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant