diff --git a/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/UnoSamples_Tests.ListView.cs b/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/UnoSamples_Tests.ListView.cs index 0d248d180836..41ccacbd7365 100644 --- a/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/UnoSamples_Tests.ListView.cs +++ b/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/UnoSamples_Tests.ListView.cs @@ -26,5 +26,20 @@ public void ListView_ListViewVariableItemHeightLong_InitializesTest() // Assert initial state Assert.IsNotNull(theListView.GetDependencyPropertyValue("DataContext")); } + + // HorizontalListViewGrouped isn't present on WASM + [Test] + [AutoRetry] + [ActivePlatforms(Platform.iOS, Platform.Android)] + public void ListView_ListViewWithHeader_InitializesTest() + { + Run("SamplesApp.Windows_UI_Xaml_Controls.ListView.HorizontalListViewGrouped"); + + _app.WaitForElement(_app.Marked("TargetListView")); + var theListView = _app.Marked("TargetListView"); + + // Assert initial state + Assert.IsNotNull(theListView.GetDependencyPropertyValue("DataContext")); + } } } diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/HorizontalListViewGrouped.xaml b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/HorizontalListViewGrouped.xaml index 25d823178abb..5197d7488f4e 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/HorizontalListViewGrouped.xaml +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/HorizontalListViewGrouped.xaml @@ -1,30 +1,29 @@ - +