From ba84299c989a2f00a7966b7c8bf8eea119841e7f Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Tue, 25 Aug 2026 14:26:10 +0800 Subject: [PATCH] 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. --- .../stats-paged-history/ui.expected.md | 29 +++++++++++++++++++ .../web/cordis-tool-round/ui.expected.md | 4 +++ snapshots/web/message-actions/ui.expected.md | 3 ++ .../seeded-history/command-row.expected.md | 3 ++ .../seeded-history/feedback-row.expected.md | 3 ++ snapshots/web/seeded-history/ui.expected.md | 3 ++ .../web/subagent-conversation/ui.expected.md | 3 ++ 7 files changed, 48 insertions(+) diff --git a/apps/web/tests/expected/stats-paged-history/ui.expected.md b/apps/web/tests/expected/stats-paged-history/ui.expected.md index 78d175af5d..1722b90b13 100644 --- a/apps/web/tests/expected/stats-paged-history/ui.expected.md +++ b/apps/web/tests/expected/stats-paged-history/ui.expected.md @@ -7,6 +7,35 @@ - tablist: - tab "Chat" [selected] - 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}} - button "Copy": - img diff --git a/snapshots/web/cordis-tool-round/ui.expected.md b/snapshots/web/cordis-tool-round/ui.expected.md index cc05c3aed9..2ec7d45c4a 100644 --- a/snapshots/web/cordis-tool-round/ui.expected.md +++ b/snapshots/web/cordis-tool-round/ui.expected.md @@ -9,6 +9,10 @@ - tablist: - tab "Chat" [selected] - 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}}" - button "Copy": - img diff --git a/snapshots/web/message-actions/ui.expected.md b/snapshots/web/message-actions/ui.expected.md index 0419f0f1b1..794bd71758 100644 --- a/snapshots/web/message-actions/ui.expected.md +++ b/snapshots/web/message-actions/ui.expected.md @@ -7,6 +7,9 @@ - tablist: - tab "Chat" [selected] - 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}}" - button "Copy": - img diff --git a/snapshots/web/seeded-history/command-row.expected.md b/snapshots/web/seeded-history/command-row.expected.md index 4402a0c69b..01234b74da 100644 --- a/snapshots/web/seeded-history/command-row.expected.md +++ b/snapshots/web/seeded-history/command-row.expected.md @@ -7,6 +7,9 @@ - tablist: - tab "Chat" [selected] - 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}}" - button "Copy": - img diff --git a/snapshots/web/seeded-history/feedback-row.expected.md b/snapshots/web/seeded-history/feedback-row.expected.md index 3f7148828e..3b362a9252 100644 --- a/snapshots/web/seeded-history/feedback-row.expected.md +++ b/snapshots/web/seeded-history/feedback-row.expected.md @@ -7,6 +7,9 @@ - tablist: - tab "Chat" [selected] - 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}}" - button "Copy": - img diff --git a/snapshots/web/seeded-history/ui.expected.md b/snapshots/web/seeded-history/ui.expected.md index 3ca7fba7ca..1f72791a3c 100644 --- a/snapshots/web/seeded-history/ui.expected.md +++ b/snapshots/web/seeded-history/ui.expected.md @@ -7,6 +7,9 @@ - tablist: - tab "Chat" [selected] - 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}}" - button "Copy": - img diff --git a/snapshots/web/subagent-conversation/ui.expected.md b/snapshots/web/subagent-conversation/ui.expected.md index dc26ca3e97..68eb4d1082 100644 --- a/snapshots/web/subagent-conversation/ui.expected.md +++ b/snapshots/web/subagent-conversation/ui.expected.md @@ -14,6 +14,9 @@ - tablist: - tab "Chat" [selected] - tab "Trajectory" +- navigation "Turn navigation": + - button "Jump to turn 1" + - button "Jump to turn 2" - text: Explain event sourcing in one sentence. {{clock}} - button "Copy": - img