更新最终预览框线测试语义
无框线场景不再传入选中节点以匹配选中态高亮规则 保留显式 showFrame 时的选中框与控制点断言
This commit is contained in:
@@ -219,9 +219,7 @@ describe('UI tree preview visibility', () => {
|
||||
});
|
||||
|
||||
it('shows final-preview node frames and resize handles only when requested', () => {
|
||||
const withoutFrames = renderTree('final-preview', new Set(), {
|
||||
selectedNodeId: 'child',
|
||||
});
|
||||
const withoutFrames = renderTree('final-preview', new Set());
|
||||
const plainChild = withoutFrames.container.querySelector(
|
||||
'[data-node-id="child"]',
|
||||
) as HTMLDivElement;
|
||||
|
||||
Reference in New Issue
Block a user