Ver código fonte

test(web): record the Turn rail in every affected aria golden

The rail is a landmark on every Chat wide enough to show it, so each
recorded conversation with at least two loaded Turns now carries the
navigation node and its marks.
Yichen Jiang 2 semanas atrás
pai
commit
ba84299c98

+ 29 - 0
apps/web/tests/expected/stats-paged-history/ui.expected.md

@@ -7,6 +7,35 @@
   - tablist:
   - tablist:
     - tab "Chat" [selected]
     - tab "Chat" [selected]
     - tab "Trajectory"
     - tab "Trajectory"
+- navigation "Turn navigation":
+  - button "Jump to turn 1"
+  - button "Jump to turn 2"
+  - button "Jump to turn 3"
+  - button "Jump to turn 4"
+  - button "Jump to turn 5"
+  - button "Jump to turn 6"
+  - button "Jump to turn 7"
+  - button "Jump to turn 8"
+  - button "Jump to turn 9"
+  - button "Jump to turn 10"
+  - button "Jump to turn 11"
+  - button "Jump to turn 12"
+  - button "Jump to turn 13"
+  - button "Jump to turn 14"
+  - button "Jump to turn 15"
+  - button "Jump to turn 16"
+  - button "Jump to turn 17"
+  - button "Jump to turn 18"
+  - button "Jump to turn 19"
+  - button "Jump to turn 20"
+  - button "Jump to turn 21"
+  - button "Jump to turn 22"
+  - button "Jump to turn 23"
+  - button "Jump to turn 24"
+  - button "Jump to turn 25"
+  - button "Jump to turn 26"
+  - button "Jump to turn 27"
+  - button "Jump to turn 28"
 - text: m1 7/25 {{clock}}
 - text: m1 7/25 {{clock}}
 - button "Copy":
 - button "Copy":
   - img
   - img

+ 4 - 0
snapshots/web/cordis-tool-round/ui.expected.md

@@ -9,6 +9,10 @@
   - tablist:
   - tablist:
     - tab "Chat" [selected]
     - tab "Chat" [selected]
     - tab "Trajectory"
     - tab "Trajectory"
+- navigation "Turn navigation":
+  - button "Jump to turn 1"
+  - button "Jump to turn 2"
+  - button "Jump to turn 3"
 - text: "Use only Cordis tools. First call cordis_inspect_self with no arguments. Then call cordis_define with plugin kind \"new\", idPrefix \"snap\", name \"snapshot noop\", purpose \"does nothing, for the snapshot\", code.host exactly \"return { name: \\\"snapshot-noop\\\", apply(ctx) {} }\" and code.client exactly \"return { inject: [\\\"slots\\\"], apply(ctx) { ctx.slots.register({ name: \\\"shell.overlay\\\", id: \\\"snapshot-probe\\\" }, () => React.createElement(\\\"div\\\", { \\\"data-snapshot-probe\\\": \\\"loaded\\\" })) } }\". Read its returned pluginId and packageId, then call cordis_run with those exact IDs and mode \"run\". After the run request returns, reply exactly CORDIS_UI_READY and stop. {{clock}}"
 - text: "Use only Cordis tools. First call cordis_inspect_self with no arguments. Then call cordis_define with plugin kind \"new\", idPrefix \"snap\", name \"snapshot noop\", purpose \"does nothing, for the snapshot\", code.host exactly \"return { name: \\\"snapshot-noop\\\", apply(ctx) {} }\" and code.client exactly \"return { inject: [\\\"slots\\\"], apply(ctx) { ctx.slots.register({ name: \\\"shell.overlay\\\", id: \\\"snapshot-probe\\\" }, () => React.createElement(\\\"div\\\", { \\\"data-snapshot-probe\\\": \\\"loaded\\\" })) } }\". Read its returned pluginId and packageId, then call cordis_run with those exact IDs and mode \"run\". After the run request returns, reply exactly CORDIS_UI_READY and stop. {{clock}}"
 - button "Copy":
 - button "Copy":
   - img
   - img

+ 3 - 0
snapshots/web/message-actions/ui.expected.md

@@ -7,6 +7,9 @@
   - tablist:
   - tablist:
     - tab "Chat" [selected]
     - tab "Chat" [selected]
     - tab "Trajectory"
     - tab "Trajectory"
+- navigation "Turn navigation":
+  - button "Jump to turn 1"
+  - button "Jump to turn 2"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - button "Copy":
 - button "Copy":
   - img
   - img

+ 3 - 0
snapshots/web/seeded-history/command-row.expected.md

@@ -7,6 +7,9 @@
   - tablist:
   - tablist:
     - tab "Chat" [selected]
     - tab "Chat" [selected]
     - tab "Trajectory"
     - tab "Trajectory"
+- navigation "Turn navigation":
+  - button "Jump to turn 1"
+  - button "Jump to turn 2"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - button "Copy":
 - button "Copy":
   - img
   - img

+ 3 - 0
snapshots/web/seeded-history/feedback-row.expected.md

@@ -7,6 +7,9 @@
   - tablist:
   - tablist:
     - tab "Chat" [selected]
     - tab "Chat" [selected]
     - tab "Trajectory"
     - tab "Trajectory"
+- navigation "Turn navigation":
+  - button "Jump to turn 1"
+  - button "Jump to turn 2"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - button "Copy":
 - button "Copy":
   - img
   - img

+ 3 - 0
snapshots/web/seeded-history/ui.expected.md

@@ -7,6 +7,9 @@
   - tablist:
   - tablist:
     - tab "Chat" [selected]
     - tab "Chat" [selected]
     - tab "Trajectory"
     - tab "Trajectory"
+- navigation "Turn navigation":
+  - button "Jump to turn 1"
+  - button "Jump to turn 2"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - text: "Use the read tool twice in one assistant message: read a.txt and b.txt. Then reply with the single word DONE and stop. 7/25 {{clock}}"
 - button "Copy":
 - button "Copy":
   - img
   - img

+ 3 - 0
snapshots/web/subagent-conversation/ui.expected.md

@@ -14,6 +14,9 @@
   - tablist:
   - tablist:
     - tab "Chat" [selected]
     - tab "Chat" [selected]
     - tab "Trajectory"
     - tab "Trajectory"
+- navigation "Turn navigation":
+  - button "Jump to turn 1"
+  - button "Jump to turn 2"
 - text: Explain event sourcing in one sentence. {{clock}}
 - text: Explain event sourcing in one sentence. {{clock}}
 - button "Copy":
 - button "Copy":
   - img
   - img