You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🤖 tests: flaky review undo UI test (multiple elements with text 0/2) #5457
tests/ui/review/undo.test.ts › "Immersive review undo (UI + ORPC) › U restores the last read hunk and resets the line cursor" failed in the merge queue (Test / Integration (2/3), run https://github.com/coder/xum/actions/runs/36994011954, job 110796531158). It failed with:
Found multiple elements with the text: 0/2
Two spans render 0/2: text-muted text-[10px] and text-dim ml-auto whitespace-nowrap. A single-element getByText query therefore throws.
The PR in the queue was #5455, which only touches sub-agent goal settlement and adds a RightSidebar goal test. The same shard passed on that PR's own head. That points to a flake from timing (both counters visible at once), not a regression.
Next step
Scope the query to the intended container, or use getAllByText and pick the counter the test means.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
Activity
ThomasK33 commentedon Oct 2, 2026
Re-enqueued #5455 (attempt 1 of 3) after this flake.
ThomasK33 commentedon Oct 2, 2026
Picked up by the issue coordinator: workspace workspace-62, branch fix/5457-review-undo-flake
Generated with
xum• Model:anthropic:claude-opus-5-5• Thinking:high• Cost:$7.41🤖 tests: fix the flaky review undo UI test (unscoped 0/2 query, tight…