Merge remote-tracking branch 'origin/main' into ci/simplify-test-suite

This commit is contained in:
Mohamed Boudra
2026-09-15 04:45:32 +02:00
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
sha256-H5VX89blAo9hEThSOcQVptZ3krk942vF1i/CzsGZf9E=
sha256-ZRp9C8g8yFgxTb2Bu42+Npds1pCP892+4M2R/u4oi1E=
@@ -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<void> {