diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TreeView.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TreeView.cs index 7870e704011fb650fa745bc3ac5bfbb31989a0c3..c7e4cc08f092195aa41eb6e590db04d1a2ac4327 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TreeView.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_TreeView.cs @@ -204,6 +204,12 @@ public class Given_TreeView child3Node.IsExpanded = true; await TestServices.WindowHelper.WaitForIdle(); + +#if HAS_UNO + Assert.AreEqual( + 1, + SUT.myTree.FindChildren().Count(c => c.Text == "Child 21")); +#endif } }