From 4957c012649130dcafc1c66a91554f5f48847aed Mon Sep 17 00:00:00 2001 From: imccyu <276526105+imccyu@users.noreply.github.com> Date: Fri, 31 Jul 2026 03:03:34 +0800 Subject: [PATCH] test(web): refresh goldens for the unified tool-row expand after the locale merge --- .../snapshots/cordis-tool-round/ui.expected.md | 15 +++++++++------ .../snapshots/fresh-round-trip/ui.expected.md | 8 ++++---- .../tests/snapshots/steering/settled.expected.md | 5 +++-- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/apps/web/tests/snapshots/cordis-tool-round/ui.expected.md b/apps/web/tests/snapshots/cordis-tool-round/ui.expected.md index 297915e52f..577b600792 100644 --- a/apps/web/tests/snapshots/cordis-tool-round/ui.expected.md +++ b/apps/web/tests/snapshots/cordis-tool-round/ui.expected.md @@ -15,27 +15,30 @@ - img - img - text: "Think The user wants me to:" -- button: +- button "Inspect temporary": - img - img -- text: Inspect temporary + - text: Inspect temporary - 'button "Think Good, no temporary plugins running. Now step 2: call cordis_mount with the exact code."': - img - img - text: "Think Good, no temporary plugins running. Now step 2: call cordis_mount with the exact code." -- button [expanded]: +- 'button "Mount temporary Plugin return { name: \"snapshot-noop\", apply(ctx) {} }" [expanded]': - img -- text: Mount temporary Plugin typescript + - text: "Mount temporary Plugin return { name: \"snapshot-noop\", apply(ctx) {} }" +- text: typescript - button "Copy" - code: "return { name: \"snapshot-noop\", apply(ctx) {} }" +- text: OUT Temporary Plugin dyn-1 is running (plugin "snapshot-noop"; available until unmounted or DSH restarts). +- button "Inspect" - 'button "Think The id is \"dyn-1\". Now step 3: call cordis_unmount with that id."': - img - img - text: "Think The id is \"dyn-1\". Now step 3: call cordis_unmount with that id." -- button: +- button "Unmount temporary Plugin dyn-1": - img - img -- text: Unmount temporary Plugin dyn-1 + - text: Unmount temporary Plugin dyn-1 - button "Think All three calls succeeded. I should now reply exactly \"CORDIS_UI_DONE\" and stop.": - img - img diff --git a/apps/web/tests/snapshots/fresh-round-trip/ui.expected.md b/apps/web/tests/snapshots/fresh-round-trip/ui.expected.md index 089a9e8efe..bc33fba084 100644 --- a/apps/web/tests/snapshots/fresh-round-trip/ui.expected.md +++ b/apps/web/tests/snapshots/fresh-round-trip/ui.expected.md @@ -15,10 +15,10 @@ - img - img - text: Think The user wants me to run a simple bash command and reply with "DONE". -- img -- text: Bash Echo the test string Done workspace echo WEB_E2E_OK -- button "Copy" -- text: WEB_E2E_OK +- button "Bash Echo the test string": + - img + - img + - text: Bash Echo the test string - button "Think The command executed successfully and output \"WEB_E2E_OK\". I just need to reply with \"DONE\".": - img - img diff --git a/apps/web/tests/snapshots/steering/settled.expected.md b/apps/web/tests/snapshots/steering/settled.expected.md index aa51d2c489..5e61b89b0b 100644 --- a/apps/web/tests/snapshots/steering/settled.expected.md +++ b/apps/web/tests/snapshots/steering/settled.expected.md @@ -15,10 +15,11 @@ - img - img - text: Think The user wants me to use the ask_user_question tool to ask them a specific question with the given parameters. Let me do exactly that. -- button: +- button "Ask question 1/1 answered": - img - img -- text: "Ask question 1/1 answered Interjection Interjection: include the word BANANA in your final reply." + - text: Ask question 1/1 answered +- text: "Interjection Interjection: include the word BANANA in your final reply." - button "Think The user selected \"Yes\" and wants me to include the word \"BANANA\" in my final reply. Let me acknowledge their answer.": - img - img