Skip to content

Commit ae92b68

Browse files
committed
test: 更新 TreeView 单元测试
1 parent 5e92087 commit ae92b68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/UnitTest/Components/TreeViewTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ public async Task IsVirtualize_Ok()
516516
pb.Add(a => a.IsVirtualize, false);
517517
pb.Add(a => a.Items, items);
518518
});
519-
cut.Contains("tree-root scroll");
519+
cut.Contains("tree-root");
520520

521521
cut.SetParametersAndRender(pb =>
522522
{
@@ -537,7 +537,7 @@ public async Task IsVirtualize_Ok()
537537
return [node1, node2];
538538
});
539539
});
540-
cut.Contains("tree-root is-virtual scroll");
540+
cut.Contains("tree-root is-virtual");
541541

542542
// 触发第一个节点展开
543543
await cut.InvokeAsync(() => cut.Find(".node-icon.visible").Click());

0 commit comments

Comments
 (0)