Explorar o código

test(web): refresh browser expected outputs

imccyu hai 1 mes
pai
achega
0dbe631c3a

+ 2 - 7
apps/web/tests/snapshots/code-mode-round/ui.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - 'button "Think The user wants me to write a single `run_code` program that:"':
   - img
   - img
@@ -38,14 +37,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 52% · 17,490 tokens · 1 turns · 2 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 2 - 7
apps/web/tests/snapshots/cordis-tool-round/ui.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - button "Think The user wants me to:":
   - img
   - img
@@ -62,14 +61,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 77% · 66,813 tokens · 1 turns · 4 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 5 - 8
apps/web/tests/snapshots/fresh-round-trip/ui.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - button "Think The user wants me to run a simple bash command and reply with \"DONE\".":
   - img
   - img
@@ -22,7 +21,9 @@
   - img
 - text: {{clock}}
 - img
-- text: Bash Echo the test string
+- text: Bash Echo the test string 已完成 workspace echo WEB_E2E_OK
+- button "复制"
+- text: WEB_E2E_OK
 - button "Think The command executed successfully and output \"WEB_E2E_OK\". I just need to reply with \"DONE\".":
   - img
   - img
@@ -33,14 +34,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 99% · 15,818 tokens · 1 turns · 2 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 1 - 5
apps/web/tests/snapshots/lifecycle-chrome/hero.expected.md

@@ -28,11 +28,7 @@
 - textbox "Describe what you want to build"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 2 - 7
apps/web/tests/snapshots/lifecycle-chrome/reloaded.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - button "Think The user wants me to reply with a single word. Let me comply.":
   - img
   - img
@@ -22,14 +21,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 99% · 7,810 tokens · 1 turns · 1 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 2 - 7
apps/web/tests/snapshots/live-interactions/cancel.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - paragraph: partial
 - text: 已停止
 - button "复制":
@@ -19,14 +18,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} 0 tokens · 1 turns · 1 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 2 - 7
apps/web/tests/snapshots/live-interactions/error-auth.expected.md

@@ -11,15 +11,10 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 2 - 7
apps/web/tests/snapshots/live-interactions/retry.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - button "Think The user is asking for a one-sentence description of event sourcing. This is a straightforward knowledge question that doesn't require any skill loading or tool calls.":
   - img
   - img
@@ -22,14 +21,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 99% · 7,869 tokens · 1 turns · 1 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 2 - 6
apps/web/tests/snapshots/message-actions/ui.expected.md

@@ -37,14 +37,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 98% · 15,962 tokens · 1 turns · 2 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 deepseek-v4-flash":
   - text: deepseek-v4-flash
   - img

+ 2 - 7
apps/web/tests/snapshots/question-composer/answered.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - button "Think The user wants me to use the ask_user_question tool with specific parameters. Let me do exactly that.":
   - img
   - img
@@ -35,14 +34,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 95% · 8,769 tokens · 1 turns · 2 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img

+ 2 - 6
apps/web/tests/snapshots/seeded-history/ui.expected.md

@@ -36,14 +36,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 98% · 15,962 tokens · 1 turns · 2 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 deepseek-v4-flash":
   - text: deepseek-v4-flash
   - img

+ 1 - 2
apps/web/tests/snapshots/steering/mid-steer.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - button "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.":
   - img
   - img
@@ -24,7 +23,7 @@
 - button:
   - img
   - img
-- text: "Tool call ask_user_question · {\"questions\": [{\"id\": \"checkpoint\", \"question\": \"Ready to continue?\", \"header\": \"Checkpoint\", \"options\": [{\"label\": \"Yes\"}, {\"label\": \"No\"}]}]} cache hit 98% · 7,946 tokens · 1 turns · 1 steps"
+- text: "Tool call ask_user_question · {\"questions\": [{\"id\": \"checkpoint\", \"question\": \"Ready to continue?\", \"header\": \"Checkpoint\", \"options\": [{\"label\": \"Yes\"}, {\"label\": \"No\"}]}]}"
 - region "Ready to continue?":
   - text: Checkpoint
   - heading "Ready to continue?" [level=2]

+ 2 - 7
apps/web/tests/snapshots/steering/settled.expected.md

@@ -11,7 +11,6 @@
   - img
 - button "编辑":
   - img
-- button "▸ 上下文注入"
 - button "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.":
   - img
   - img
@@ -35,14 +34,10 @@
 - button "在新对话中分支":
   - img
 - text: {{clock}} cache hit 98% · 15,967 tokens · 1 turns · 2 steps
-- textbox "Message the agent"
+- textbox "给智能体发消息"
 - button "Add attachment":
   - img
-- text: Danger Full Access
-- combobox "Access mode":
-  - option "Read Only"
-  - option "Workspace Write"
-  - option "Danger Full Access" [selected]
+- 'button "Access mode, current: Danger Full Access"': Danger Full Access
 - button "选择模型,当前 DeepSeek-V4-Flash":
   - text: DeepSeek-V4-Flash
   - img