Skip to content

test(desktop): scope same-persona agent count to the members panel - #7

Merged
elijamesku merged 1 commit into
eli/github-connectorfrom
eli/e2e-scope-pinky-assertion
Sep 17, 2026
Merged

elijamesku merged 1 commit into
eli/github-connectorfrom
eli/e2e-scope-pinky-assertion

Conversation

@elijamesku

Copy link
Copy Markdown
Owner

Why

Desktop Smoke E2E shard 1 has failed on every fork CI run (PR #2, #4): channels.spec.ts › members sidebar retains distinct same-persona managed agents expects a page-wide getByText("Pinky") count of 2 but gets 4.

Root cause is the fork's own August feature, not a bug: the "Your team" roster in the sidebar (sidebar-team-roster) lists every managed agent, so both same-persona agents named Pinky render there too. Upstream's assertion pre-dates the roster.

Change

  • Count Pinky inside members-sidebar (the assertion's actual subject: the in-channel agent in the list + the out-of-channel one as a search hit) → still 2.
  • Add an explicit assertion that sidebar-team-roster shows both → 2, so the fork behavior is documented rather than hidden.

Test-only; biome check clean.

Test plan

  • CI Desktop Smoke E2E (1): this test passes

The fork's "Your team" sidebar roster lists every managed agent, so a
page-wide getByText("Pinky") count sees the two roster rows as well as
the members list + search hit and reads 4 instead of 2. Count inside
members-sidebar (the assertion's real subject) and assert the roster
rows explicitly so the fork behavior is documented, not hidden.

Signed-off-by: Eli <elijamesau@gmail.com>
@elijamesku
elijamesku merged commit d0654c7 into eli/github-connector Sep 17, 2026
31 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant