1
0
Эх сурвалжийг харах

test(web): re-record the preset section golden and borderless menu inset

Yif 2 сар өмнө
parent
commit
9e8cd1acfb

+ 1 - 0
apps/web/tests/snapshots/agent-preset-authoring/section.expected.md

@@ -58,6 +58,7 @@
       - 'button "复制: 创造模式"':
         - img
         - text: 复制
+  - heading "自定义" [level=3]
   - button "用「创造模式」创作自定义预设":
     - img
     - text: 用「创造模式」创作自定义预设

+ 2 - 1
apps/web/tests/subagent-conversation.e2e.ts

@@ -395,7 +395,8 @@ describe('web e2e: persisted subagent conversation and human continuation', () =
     expect([
       Math.round(clickAreaBox!.x - treeBox!.x),
       Math.round(treeBox!.x + treeBox!.width - clickAreaBox!.x - clickAreaBox!.width),
-    ]).toEqual([5, 5])
+    // Menu padding alone insets the rows now that the border is gone.
+    ]).toEqual([4, 4])
     await compareOrRefreshGolden(
       BRANCHLESS_EXPECTED,
       await captureStableAria(page, '[role="tree"][aria-label="Subagent sessions"]', scaffold.workspaceCwd),