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 new file mode 100644 index 000000000000..fdbb031b9781 --- /dev/null +++ b/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/UnoSamples_Tests.ListView.cs @@ -0,0 +1,29 @@ +using NUnit.Framework; +using SamplesApp.UITests.TestFramework; +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Uno.UITest.Helpers; +using Uno.UITest.Helpers.Queries; + +namespace SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests +{ + [TestFixture] + public partial class ListViewTests_Tests : SampleControlUITestBase + { + [Test] + public void ListView_ListViewVariableItemHeightLong_InitializesTest() + { + Run("SamplesApp.Windows_UI_Xaml_Controls.ListView.ListViewVariableItemHeightLong"); + + _app.WaitForElement(_app.Marked("theListView")); + var theListView = _app.Marked("theListView"); + + // Assert initial state + Assert.IsNotNull(theListView.GetDependencyPropertyValue("DataContext")); + } + } +} diff --git a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/ListViewVariableItemHeightLong.xaml b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/ListViewVariableItemHeightLong.xaml index ebd9fff94e7d..afad935953ff 100644 --- a/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/ListViewVariableItemHeightLong.xaml +++ b/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/ListViewVariableItemHeightLong.xaml @@ -1,35 +1,37 @@ - + -