Skip to content

Commit 9898651

Browse files
committed
test: 更新单元测试
1 parent a3bb398 commit 9898651

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/UnitTest/Components/TabTest.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,12 @@ public void IsLazyLoadTabItem_Ok()
505505
cut.InvokeAsync(() => item.Click());
506506
cut.Contains("Tab1-Content");
507507
cut.Contains("Tab2-Content");
508+
509+
// 再点击第一个 TabItem
510+
item = items[1];
511+
cut.InvokeAsync(() => item.Click());
512+
cut.Contains("Tab1-Content");
513+
cut.Contains("Tab2-Content");
508514
}
509515

510516
[Fact]

0 commit comments

Comments
 (0)