Repository navigation
test(ui): drop the off-list pin toggle from the roster e2e - #204070
Merged
Merged
Conversation
- #203953 hid the toggle on every row without childLoadParentKeys; scope it to the flat Home reference. Co-authored-by: obviyus <[email protected]>
Contributor
|
🦞👀 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. |
- #203953 removed that toggle because flat pins have no child branch; restore the row render. Co-authored-by: obviyus <[email protected]>
Co-authored-by: obviyus <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 24, 2026
…204070) `sidebar-complete-roster.e2e.test.ts` passes again on `main`. The test no longer requires a child toggle on an off-list pinned parent, a control that openclaw#203953 removed because it expanded to nothing. Part of openclaw#204008. ## Problem openclaw#203953 hid the child toggle on flat sidebar rows (rows without `childLoadParentKeys`). A pinned conversation that is outside the visible list is resolved as such a flat row: it has `childSessionKeys`, but its `children` are always `[]`, so its toggle expanded to an empty branch. The roster e2e still waited for that toggle on `pinnedKeys[1]` (seeded with one child) and failed 3/3 on scheduled `main` with `Sidebar target was not mounted after scrolling`. Measured on that pin before the fix: `childSessionKeys` 1, `children` 0, `childLoadParentKeys` undefined. ## Solution Delete the collapsed-pin scenario from the e2e: the seeded child of `pinnedKeys[1]`, the collapse step, and the cached-reload assertions on that toggle. No product code changes. The in-list parent toggle, child load, pagination and cached geometry proof stay. A first version of this PR restored the toggle on off-list pins. Local review showed that the restored toggle expands to an empty branch (the dead control openclaw#203953 removed), so this version removes the test of that control. ## Evidence - `sidebar-complete-roster.e2e.test.ts`: `main` fails 3/3; this branch passes 3/3. Co-authored-by: Ayaan Zaidi <[email protected]>
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.
sidebar-complete-roster.e2e.test.tspasses again onmain. The test no longer requires a child toggle on an off-list pinned parent, a control that #203953 removed because it expanded to nothing.Part of #204008.
Problem
#203953 hid the child toggle on flat sidebar rows (rows without
childLoadParentKeys). A pinned conversation that is outside the visible list is resolved as such a flat row: it haschildSessionKeys, but itschildrenare always[], so its toggle expanded to an empty branch. The roster e2e still waited for that toggle onpinnedKeys[1](seeded with one child) and failed 3/3 on scheduledmainwithSidebar target was not mounted after scrolling.Measured on that pin before the fix:
childSessionKeys1,children0,childLoadParentKeysundefined.Solution
Delete the collapsed-pin scenario from the e2e: the seeded child of
pinnedKeys[1], the collapse step, and the cached-reload assertions on that toggle. No product code changes. The in-list parent toggle, child load, pagination and cached geometry proof stay.A first version of this PR restored the toggle on off-list pins. Local review showed that the restored toggle expands to an empty branch (the dead control #203953 removed), so this version removes the test of that control.
Evidence
sidebar-complete-roster.e2e.test.ts:mainfails 3/3; this branch passes 3/3.