diff --git a/nix/npm-deps.hash b/nix/npm-deps.hash index 04e05a97a6..2e88f0d85b 100644 --- a/nix/npm-deps.hash +++ b/nix/npm-deps.hash @@ -1 +1 @@ -sha256-H5VX89blAo9hEThSOcQVptZ3krk942vF1i/CzsGZf9E= +sha256-ZRp9C8g8yFgxTb2Bu42+Npds1pCP892+4M2R/u4oi1E= diff --git a/packages/app/e2e/support/helpers/streaming-markdown.ts b/packages/app/e2e/support/helpers/streaming-markdown.ts index 07d734f051..0c8107cf37 100644 --- a/packages/app/e2e/support/helpers/streaming-markdown.ts +++ b/packages/app/e2e/support/helpers/streaming-markdown.ts @@ -36,7 +36,11 @@ export async function requestStreamingMarkdown(agent: StreamingMarkdownAgent): P await agent.client.sendAgentMessage(agent.agentId, "Show the formatted streaming response."); // Exercise late assertions: the producer finishes before the browser consumes its frames. await agent.client.waitForFinish(agent.agentId, 30_000); - await agent.stream.showThrough("**Bold"); + // The mock splits "**Bold" into two frames. Whether they land in one store + // commit or two is up to the browser's task scheduling, and word pacing only + // releases a word once the whitespace after it has arrived, so stop after + // that whitespace: every batching then reveals "Bold" and nothing past "text". + await agent.stream.showThrough("**Bold text"); } export async function expectUnfinishedBold(page: Page): Promise {