diff --git a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.TransformToVisual.cs b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.TransformToVisual.cs index 933cb9feb597..2d09a1bae9ab 100644 --- a/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.TransformToVisual.cs +++ b/src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_UIElement.TransformToVisual.cs @@ -16,13 +16,15 @@ using Microsoft.VisualStudio.TestTools.UnitTesting; using Private.Infrastructure; using Uno.Extensions; -using Uno.UI.Extensions; using DependencyObjectExtensions = Uno.UI.Extensions.DependencyObjectExtensions; using static Private.Infrastructure.TestServices.WindowHelper; using Windows.UI.Xaml.Shapes; +using Uno.UI.RuntimeTests.Helpers; #if __IOS__ using UIKit; +#else +using Uno.UI.Extensions; #endif namespace Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml @@ -146,6 +148,57 @@ void AssertItem(int index) } } #endif + [TestMethod] + [RunsOnUIThread] + public async Task When_TransformToVisual_Through_ListView_Scrolled() + { + var listView = new ListView + { + ItemContainerStyle = TestsResourceHelper.GetResource