mirror of
https://github.com/block/buzz.git
synced 2026-10-29 21:41:33 +00:00
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 <wesbillman@users.noreply.github.com>
This commit is contained in:
@@ -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,
|
||||
}) => {
|
||||
|
||||
Reference in New Issue
Block a user