Parcourir la source

test(web): refresh browser goldens for the compact workspace sidebar

Re-record the sidebar regions that the redesign intentionally changed:
group session counts are gone, search is a collapsed header action, and
grouping lives in the View options menu. Session rows also follow the new
recency ordering, so their tree order updates with the counts.
_Kerman il y a 2 mois
Parent
commit
ee3bdac52d

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

@@ -5,17 +5,17 @@
   - img
   - img
   - text: New Session
   - text: New Session
 - text: Workspaces
 - text: Workspaces
-- button "Group by":
+- button "Search sessions":
   - img
   - img
-- button "Add workspace":
+- textbox "Search sessions..."
+- button "View options":
   - img
   - img
-- button "Search sessions":
+- button "Add workspace":
   - img
   - img
-- textbox "Search name, keywords..."
 - tree "Sessions":
 - tree "Sessions":
-  - treeitem "workspace 1 session" [expanded]:
+  - treeitem "workspace" [expanded]:
     - img
     - img
-    - text: workspace 1 session
+    - text: workspace
   - treeitem "New Session" [selected]
   - treeitem "New Session" [selected]
 - button "Settings":
 - button "Settings":
   - img
   - img

+ 6 - 6
apps/web/tests/snapshots/lifecycle-chrome/plan-active.expected.md

@@ -5,17 +5,17 @@
   - img
   - img
   - text: New Session
   - text: New Session
 - text: Workspaces
 - text: Workspaces
-- button "Group by":
+- button "Search sessions":
   - img
   - img
-- button "Add workspace":
+- textbox "Search sessions..."
+- button "View options":
   - img
   - img
-- button "Search sessions":
+- button "Add workspace":
   - img
   - img
-- textbox "Search name, keywords..."
 - tree "Sessions":
 - tree "Sessions":
-  - treeitem "workspace 1 session" [expanded]:
+  - treeitem "workspace" [expanded]:
     - img
     - img
-    - text: workspace 1 session
+    - text: workspace
   - treeitem "New Session" [selected]
   - treeitem "New Session" [selected]
 - button "Settings":
 - button "Settings":
   - img
   - img

+ 4 - 4
apps/web/tests/snapshots/message-actions/fork.expected.md

@@ -1,7 +1,7 @@
 - tree "Sessions":
 - tree "Sessions":
-  - treeitem "Ungrouped 3 sessions" [expanded]:
+  - treeitem "Ungrouped" [expanded]:
     - img
     - img
-    - text: Ungrouped 3 sessions
-  - treeitem "Use the read tool twice (2) now" [selected]
-  - treeitem "Use the read tool twice (1) now"
+    - text: Ungrouped
   - treeitem "Use the read tool twice 1min"
   - treeitem "Use the read tool twice 1min"
+  - treeitem "Use the read tool twice (1) now"
+  - treeitem "Use the read tool twice (2) now" [selected]

+ 3 - 3
apps/web/tests/snapshots/sidebar-subagent-activity/owner-running.expected.md

@@ -1,6 +1,6 @@
 - tree "Sessions":
 - tree "Sessions":
-  - treeitem "workspace 2 sessions" [expanded]:
+  - treeitem "workspace" [expanded]:
     - img
     - img
-    - text: workspace 2 sessions
-  - treeitem "1 subagent running Delegate a background task. now"
+    - text: workspace
   - treeitem "New Session" [selected]
   - treeitem "New Session" [selected]
+  - treeitem "1 subagent running Delegate a background task. now"

+ 3 - 3
apps/web/tests/snapshots/subagent-conversation/fork.expected.md

@@ -1,6 +1,6 @@
 - tree "Sessions":
 - tree "Sessions":
-  - treeitem "workspace 2 sessions" [expanded]:
+  - treeitem "workspace" [expanded]:
     - img
     - img
-    - text: workspace 2 sessions
-  - treeitem "Explain event sourcing in one (1) now" [selected]
+    - text: workspace
   - treeitem "Ask a research subagent to now"
   - treeitem "Ask a research subagent to now"
+  - treeitem "Explain event sourcing in one (1) now" [selected]

+ 2 - 2
apps/web/tests/snapshots/subagent-conversation/sidebar.expected.md

@@ -1,5 +1,5 @@
 - tree "Sessions":
 - tree "Sessions":
-  - treeitem "workspace 1 session" [expanded]:
+  - treeitem "workspace" [expanded]:
     - img
     - img
-    - text: workspace 1 session
+    - text: workspace
   - treeitem "Ask a research subagent to now"
   - treeitem "Ask a research subagent to now"