Repository navigation
fix: restore sidebar browser coverage after pagination changes - #186772
Conversation
|
🦞👀 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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR updates sidebar browser fixtures and pagination waits to preserve existing coverage under the accepted fifteen-row grouped window. Example: Run the Community card scenario with Home and 31 task sessions.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Regression provenanceRegression provenance — verified: source commit Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR restores useful browser coverage without changing product behavior, and no actionable defects were found; the exact-head CI gate remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI browser suites supply synthetic Gateway session data to the real renderer and inspect pagination, scrolling, sorting, dismissal, and retained row identity. flowchart LR
A[Synthetic Gateway fixtures] --> B[Control UI renderer]
B --> C[Sidebar pagination owner]
C --> D[Virtualized session rows]
E[Browser test actions] --> C
D --> F[Existing interaction assertions]
Technical reviewBest possible solution: Retain this focused fixture repair and its shared published-page wait while preserving the existing sidebar owners and interaction assertions. Do we have a high-confidence way to reproduce the issue? Current-main source shows fixed extra clicks after exhaustion and a pinned-order expectation below the new initial window; the PR reports matching browser failures, but this review executed no target code. Is this the best way to solve the issue? The patch restores meaningful page boundaries, reuses the existing virtualized-row reveal helper, and consolidates repeated pagination setup without weakening the downstream assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a74f408db7fb. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +11. Total +11 across 6 files. Added test files: 1. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 28, 2026, 9:34 AM ET / 13:34 UTC. |
|
Fixed: sidebar browser tests retain scrolling, resizing, dismissal, ordering, and full-page retention coverage with the current pagination windows. |
…law#186772) Restore sidebar browser fixtures to the accepted pagination windows while retaining scrolling, resizing, dismissal, ordering, and full-page retention checks. Refs openclaw#186715, openclaw#186749.
Related: #186715, #186749
What Problem This Solves
The sidebar pagination change left several existing browser scenarios using ten-row assumptions. On current main, scroll and invite scenarios try to click Show more after the list is exhausted, while the pinned-session sorting scenario expects too few initial rows. These failures prevent the tests from reaching their resize, scrolling, dismissal, and ordering assertions. The created-sort fixture also no longer fills an initial page, so it has stopped exercising full-page retention when a newer session arrives.
User Impact
There is no product behavior change. This restores the existing browser coverage under the accepted fifteen-row grouped window and thirty-row ungrouped window. The separately landed category/group-management correction remains intact.
Why This Change Was Made
A shared fixture helper expands through the actual Show more control, checks each published fifteen-row increment using the virtualized list's accessible size, and verifies exhaustion. The scroll fixtures still reach their final task rows and keep every geometry, pointer, keyboard, and rail assertion. The invite fixture counts its thirty-one task rows separately from Home.
The sorting fixture now supplies sixteen ordinary sessions plus its pin, so paging is still required before asserting complete order. The external-new-session fixture starts with fifteen rows, preserving its full-page and retained-DOM-identity checks. No scenario is skipped, no timeout is extended, and the test-line ceiling is unchanged. The complete patch changes only tests: 35 added lines and 24 removed lines.
Evidence
70a9bd4740e1dae5bdf2e253ca7fbb8e7b98eb04through the production Control UI browser harness. The already repaired group-management file passed.Exact-head CI passed, including all five changed browser files in the selected 10-file, 38-case E2E job (88.56 seconds). Independent engineering review found no actionable findings after inspecting the source and raw execution records. Browser proof uses synthetic Gateway fixtures; this PR introduces no visible UI change.