From 1fa8916992c8164ea028cb128aa24f5b4f4fa9cc Mon Sep 17 00:00:00 2001 From: Wes Date: Wed, 26 Aug 2026 14:10:24 -0600 Subject: [PATCH] Remove obsolete duplicate-mention assertion The PR intentionally preserves pubkey-distinct same-name people and already covers selecting each exact row. Remove the superseded E2E that still expects those identities to collapse. Co-authored-by: Carl <32a2e2c9d428ee08902cab75d956da2c1d235a22d4766b0dd4138bf6e2e5db1d@buzz.block.builderlab.xyz> Signed-off-by: Wes --- desktop/tests/e2e/mentions.spec.ts | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/desktop/tests/e2e/mentions.spec.ts b/desktop/tests/e2e/mentions.spec.ts index b7cece6ac8..632990f02a 100644 --- a/desktop/tests/e2e/mentions.spec.ts +++ b/desktop/tests/e2e/mentions.spec.ts @@ -2461,33 +2461,6 @@ test("global non-member people can be selected from channel mentions", async ({ await expect(dropdown.getByText("not in channel")).toBeVisible(); }); -test("duplicate global people with the same visible identity collapse in channel mentions", async ({ - page, -}) => { - await installMockBridge(page, { - searchProfiles: [ - { - pubkey: CASEY_PROFILE_PUBKEY, - displayName: "Pip", - }, - { - pubkey: - "2222222222222222222222222222222222222222222222222222222222222222", - displayName: "Pip", - }, - ], - }); - await page.goto("/"); - await page.getByTestId("channel-general").click(); - await expect(page.getByTestId("chat-title")).toHaveText("general"); - - const input = page.getByTestId("message-input"); - await input.fill("@pip"); - - const dropdown = autocomplete(page); - await expect(dropdown.locator("button", { hasText: "Pip" })).toHaveCount(1); -}); - test("sent non-member person mention uses the normal mention style", async ({ page, }) => {