Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

test(rail): the list past eight names each group once

milind-soni083bfcc2e0d2
diff --git a/src/components/PlacesRail.test.ts b/src/components/PlacesRail.test.ts
index 8ba7762394..edf923bff6 100644
--- a/src/components/PlacesRail.test.ts
+++ b/src/components/PlacesRail.test.ts
@@ -515,6 +515,8 @@ it("past eight, ⋯ keeps the groups, each under its address, and search finds a
await click(host.querySelector("[data-rail-more-button]"));
const groups = [...host.querySelectorAll("[data-rail-more] [data-rail-group]")].map((row) => row.textContent);
expect(groups).toEqual([ALICE, BOB]);
+ const rowsText = [...host.querySelectorAll("[data-rail-more] button")].map((row) => row.textContent);
+ expect(rowsText.join(" ")).not.toContain("@");
expect(matchingPlaces(many, "bob@").map((row) => row.id)).toEqual(["b0", "b1", "b2", "b3", "b4"]);
});