Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions desktop/tests/e2e/scroll-history.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2172,6 +2172,13 @@ test("thread summary badge survives a retained older-history prepend", async ({

await page.getByTestId("channel-deep-history").click();
await expect(page.getByTestId("chat-title")).toHaveText("deep-history");
// Page only after live admission and its head refresh. That refresh
// replaces the window, so an earlier prepend can be discarded.
await waitForMockChannelHeadReady(
page,
"deep-history",
"feedf00d-0000-4000-8000-000000000007",
);
const timeline = page.getByTestId("message-timeline");
const badgeSelector =
'[data-testid="message-thread-summary"][data-thread-head-id="mock-deep-history-599"]';
Expand Down
Loading