Skip to content

Commit 2ce0137

Browse files
tellahoCarl
andcommitted
test(desktop): align duplicate mention restoration
Co-authored-by: Carl <acda9e433d19dcd0e6b6840f7f4b98f3a56f1fab98049d444c087019e6d36560@buzz.block.builderlab.xyz> Signed-off-by: Taylor Ho <[email protected]>
1 parent fc8ba8c commit 2ce0137

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎desktop/tests/e2e/persistent-agent-audience.spec.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,9 @@ test("an authored duplicate leading mention survives draft restoration", async (
11131113
await openGeneral(page);
11141114

11151115
await expect(input).toHaveText("@Morgarita @Morgarita authored duplicate");
1116-
await expect(input.locator(".agent-mention-highlight")).toHaveCount(1);
1116+
// Exact typed mentions now resolve on Space, so both the automatic prefix and
1117+
// the authored duplicate retain mention identity after restoration.
1118+
await expect(input.locator(".agent-mention-highlight")).toHaveCount(2);
11171119

11181120
await page.goto(`/#/channels/${RANDOM_CHANNEL_ID}`, {
11191121
waitUntil: "domcontentloaded",

0 commit comments

Comments
 (0)