Repository navigation
test(ui): locate portaled chat Details in the active pane - #170782
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 13, 2026
This was referenced Oct 13, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
…law#170782) ## What Problem This Solves The scheduled UI E2E shard times out after clicking the chat header Details button. The adaptive Details change in openclaw#170707 deliberately portals the content into the conversation frame, but the delegated-work test still searches inside the header control for the dialog and its close button. Scope the dialog to the active chat pane while keeping the trigger lookup in the header. The test still requires the Details dialog to become visible, closes it through its actual button, waits for it to hide, and retains every delegated-work, layout-retention, and next-conversation assertion. No production behavior, visual styling, database access, or schema changes. ## Evidence - Actual scheduled-main failure: [run 38359584345, UI6](https://github.com/openclaw/openclaw/actions/runs/38359584345/job/115170476531), head `116f0502239e7f1cd4a85f57331f986f616e8939`, `chat-header-subagents.e2e.test.ts:78`: Details dialog visibility timeout after 30 seconds. The shard reports one failed and 446 passed cases. - Culprit `b9a82f35f24ed3503a4841ccb17f5bca56505d62`: its parent-relative patch adds the conversation-frame Portal and updates component browser-test queries, but omits this E2E locator. - Changed-file formatting, lint, and `git diff --check`: passed. One isolated Codex review: scoped-clean, no actionable findings. Normal commit hooks: passed. - Ordinary candidate CI [38362882551/job115181489859](https://github.com/openclaw/openclaw/actions/runs/38362882551/job/115181489859) passed the exact original delegated-work case in 7.978 seconds. Its six-file shard passed all 13 cases in 31.69 seconds; no supplemental run was needed. - LOC: one file, +4/-5. No new tests, timeouts, retries, skipped assertions, or production code. Exact candidate proof: ```sh node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-header-subagents.e2e.test.ts ``` Final candidate static, type, architecture, security, and required CI gates passed. Database ratchets remain T1 454 to 454, compatibility calls 9 to 9, and all dialect groups 0 to 0. This test-only locator correction makes no SQL savings claim.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The scheduled UI E2E shard times out after clicking the chat header Details button. The adaptive Details change in #170707 deliberately portals the content into the conversation frame, but the delegated-work test still searches inside the header control for the dialog and its close button.
Scope the dialog to the active chat pane while keeping the trigger lookup in the header. The test still requires the Details dialog to become visible, closes it through its actual button, waits for it to hide, and retains every delegated-work, layout-retention, and next-conversation assertion. No production behavior, visual styling, database access, or schema changes.
Evidence
0348a2526c561d8ccce61bfd23931024a6b8f13e,chat-header-subagents.e2e.test.ts:78: Details dialog visibility timeout after 30 seconds. The shard reports one failed and 446 passed cases.2c705154ec84fc165829156dc4359327956e3d0f: its parent-relative patch adds the conversation-frame Portal and updates component browser-test queries, but omits this E2E locator.git diff --check: passed. One isolated Codex review: scoped-clean, no actionable findings. Normal commit hooks: passed.Exact candidate proof:
Final candidate static, type, architecture, security, and required CI gates passed. Database ratchets remain T1 454 to 454, compatibility calls 9 to 9, and all dialect groups 0 to 0. This test-only locator correction makes no SQL savings claim.