Files
deepseek-harness/apps/web/tests/snapshots/steering/mid-steer.expected.md
T
Tianyi Cui ea1d8d06b3 test(web): pin every scenario end-state with an aria golden
Every spec now commits at least one golden and the interactive ones one
per distinct end-state (nine new .expected.md):

- live-interactions: cancel.expected.md (frozen partial + 已停止 marker),
  error-auth.expected.md (the prompt bubble alone — the committed artifact
  of the web-error-surface gap, the diff that flips when error rendering
  lands), retry.expected.md (indistinguishable from a clean completion —
  retries are deliberately invisible in the transcript).
- question-composer: answered.expected.md (the question resolved into its
  tool round trip plus the final reply, takeover gone) beside the existing
  waiting-state golden.
- steering: mid-steer.expected.md pins the accepted-but-INVISIBLE state
  (the loop drains steering only at the step boundary, so no interjection
  bubble exists while the question still blocks — if the client ever
  renders pending steers eagerly, this golden flips first) and
  settled.expected.md the badged bubble plus obeying reply.
- navigation-panes: waterfall.expected.md and details-open.expected.md
  (tool-name header, Input args, Output result) beside the trajectory one.
- lifecycle-chrome: reloaded.expected.md — rendering the same settled
  transcript from persistence alone IS the recovery claim.

Fixture inventories extended to the new closed sets; the Agent Note's
expected-outputs policy updated in both languages (per-end-state goldens
for interactive scenarios), pairing re-recorded.
2026-07-26 12:45:44 +08:00

1.7 KiB

  • banner:
    • navigation "Session hierarchy":
      • button "Use the ask_user_question tool to" [disabled]
      • text: · 1 turns
    • tablist:
      • tab "Chat" [selected]
      • tab "Trajectory"
      • tab "Waterfall"
  • text: Use the ask_user_question tool to ask me exactly one question with id "checkpoint", question "Ready to continue?", header "Checkpoint", and options labeled "Yes" and "No". After I answer, reply with one short sentence acknowledging my answer and stop.
  • 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
    • 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
  • text: "Tool call ask_user_question · {"questions": [{"id": "checkpoint", "question": "Ready to continue?", "header": "Checkpoint", "options": [{"label": "Yes"}, {"label": "No"}]}]} 等待回答(1 题)"
  • button "▸ 问题内容"
  • text: 请在原客户端处理(web 端作答后续里程碑提供) cache hit 98% · 7,946 tokens · 1 turns · 1 steps
  • region "Ready to continue?":
    • text: Checkpoint
    • heading "Ready to continue?" [level=2]
    • text: 1 / 1
    • button "上一题" [disabled]:
      • img
    • button "下一题" [disabled]:
      • img
    • button "放弃整组问题":
      • img
    • radiogroup:
      • radio "Yes":
        • text: 1 Yes
        • img
      • radio "No":
        • text: 2 No
        • img
      • button "其他,请填写自定义答案":
        • img
        • text: 其他,请填写自定义答案
    • status
    • button "跳过本题"
    • button "提交" [disabled]