From a91fa3ddbc9ca19de0ed852ec40a8fb62413c49c Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Tue, 25 Aug 2026 21:04:50 +0800 Subject: [PATCH] test(web): stabilize minimal Bash card snapshot --- apps/web/tests/minimal-preset.snapshot.ts | 2 +- snapshots/web/minimal-preset/ui.expected.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/tests/minimal-preset.snapshot.ts b/apps/web/tests/minimal-preset.snapshot.ts index 4372524151..75aec1c7e3 100644 --- a/apps/web/tests/minimal-preset.snapshot.ts +++ b/apps/web/tests/minimal-preset.snapshot.ts @@ -35,7 +35,7 @@ describe('minimal agent preset', () => { let tripwire: ReturnType | undefined beforeAll(async () => { - scaffold = await launchWebScaffold({ replayFixture: FIXTURE, compareReplaySession: true }) + scaffold = await launchWebScaffold({ replayFixture: FIXTURE, compareReplaySession: true, paceMs: 10 }) disposeInjectedPrompt = scaffold.ctx.systemPrompt.section({ name: 'test:injected-prompt', order: 999, diff --git a/snapshots/web/minimal-preset/ui.expected.md b/snapshots/web/minimal-preset/ui.expected.md index 1939787229..2de9eef677 100644 --- a/snapshots/web/minimal-preset/ui.expected.md +++ b/snapshots/web/minimal-preset/ui.expected.md @@ -30,7 +30,7 @@ - img - button "Branch into a new conversation": - img -- text: {{clock}} Ran for {{duration}} TTFT {{duration}} +- text: {{clock}} Ran for {{duration}} TTFT {{duration}} {{throughput}} tok/s - textbox "Message the agent" - button "Commands": - img @@ -40,4 +40,4 @@ - img - button "0% of context used" - button "Send message" [disabled] -- text: 1 turns · 2 steps LLM {{duration}} · Tool call {{duration}} TTFT avg {{duration}} Cache hit 0% Input 20 tok · Output 8 tok +- text: 1 turns · 2 steps LLM {{duration}} · Tool call {{duration}} TTFT avg {{duration}} · {{throughput}} tok/s Cache hit 0% Input 20 tok · Output 8 tok