diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue2842Test.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue2842Test.png new file mode 100644 index 000000000000..c871f7f2674b Binary files /dev/null and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/Issue2842Test.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement1Start.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement1Start.png new file mode 100644 index 000000000000..9c52114edbc2 Binary files /dev/null and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement1Start.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement2Center.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement2Center.png new file mode 100644 index 000000000000..8585b1ef831b Binary files /dev/null and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement2Center.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement3End.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement3End.png new file mode 100644 index 000000000000..e6925264a5e7 Binary files /dev/null and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ScrollToElement3End.png differ diff --git a/src/Controls/tests/TestCases.HostApp/Elements/ScrollViewCoreGalleryPage.cs b/src/Controls/tests/TestCases.HostApp/Elements/ScrollViewCoreGalleryPage.cs index 3334762038b8..d187b93cee41 100644 --- a/src/Controls/tests/TestCases.HostApp/Elements/ScrollViewCoreGalleryPage.cs +++ b/src/Controls/tests/TestCases.HostApp/Elements/ScrollViewCoreGalleryPage.cs @@ -28,7 +28,7 @@ public ScrollViewCoreGalleryPage(ScrollOrientation orientation = ScrollOrientati var btn = new Button { AutomationId = "Scroll100", Text = "Scroll to 100" }; var btn4 = new Button { AutomationId = "Scroll100Anim", Text = "Scroll to 100 no anim" }; var btn1 = new Button { AutomationId = "Start", Text = "Start" }; - var btn2 = new Button { AutomationId = "Center", Text = "Center" }; + var btn2 = new Button { AutomationId = "CenterPosition", Text = "Center" }; var btn3 = new Button { AutomationId = "End", Text = "End" }; var btn7 = new Button { Text = "Toggle Scroll Bar Visibility", WidthRequest = 120 }; var btn6 = new Button { Text = "MakeVisible", HorizontalOptions = LayoutOptions.Center, BackgroundColor = Colors.Blue }; diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue5367.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue5367.cs index 5e872919ddd3..fd6cbfb6d701 100644 --- a/src/Controls/tests/TestCases.HostApp/Issues/Issue5367.cs +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue5367.cs @@ -3,8 +3,8 @@ [Issue(IssueTracker.Github, 5367, "[Bug] Editor with MaxLength", PlatformAffected.Android)] public class Issue5367 : TestContentPage { - const string MaxLengthEditor = "MaxLength Editor"; - const string ForceBigStringButton = "Force Big String Button"; + const string MaxLengthEditor = "MaxLengthEditor"; + const string ForceBigStringButton = "StringButton"; protected override void Init() { diff --git a/src/Controls/tests/TestCases.HostApp/Resources/Images/cover1.jpg b/src/Controls/tests/TestCases.HostApp/Resources/Images/cover1.jpg new file mode 100644 index 000000000000..7107f4a24de6 Binary files /dev/null and b/src/Controls/tests/TestCases.HostApp/Resources/Images/cover1.jpg differ diff --git a/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement1Start.png b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement1Start.png new file mode 100644 index 000000000000..c1939a8fc605 Binary files /dev/null and b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement1Start.png differ diff --git a/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement2Center.png b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement2Center.png new file mode 100644 index 000000000000..55116f59ec74 Binary files /dev/null and b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement2Center.png differ diff --git a/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement3End.png b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement3End.png new file mode 100644 index 000000000000..c246f55fec70 Binary files /dev/null and b/src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/ScrollToElement3End.png differ diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10234.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10234.cs index cbdbeb26d626..607c28caf947 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10234.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue10234.cs @@ -15,7 +15,6 @@ public Issue10234(TestDevice device) : base(device) [Test] [Category(UITestCategories.CarouselView)] - [FailsOnMacWhenRunningOnXamarinUITest("ScrollRight is not implemented on Mac")] public void ScrollCarouselViewAfterDispose() { App.WaitForElement("goToShow"); diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1219.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1219.cs index 277a0c5302d3..6df3e5e9f8ec 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1219.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1219.cs @@ -17,11 +17,9 @@ public Issue1219(TestDevice testDevice) : base(testDevice) [Test] [Category(UITestCategories.ListView)] [Category(UITestCategories.Compatibility)] - [FailsOnIOSWhenRunningOnXamarinUITest] - [FailsOnMacWhenRunningOnXamarinUITest] public void ViewCellInTableViewDoesNotCrash() { - App.WaitForNoElement(Success); + App.WaitForElement(Success); } } } \ No newline at end of file diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1937.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1937.cs index d3b49a2db657..6d409795a189 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1937.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1937.cs @@ -1,41 +1,41 @@ -#if WINDOWS -using NUnit.Framework; -using NUnit.Framework.Legacy; +using NUnit.Framework; using UITest.Appium; using UITest.Core; namespace Microsoft.Maui.TestCases.Tests.Issues { - public class Issue1937 : _IssuesUITest - { - public Issue1937(TestDevice testDevice) : base(testDevice) - { - } + public class Issue1937 : _IssuesUITest + { + public Issue1937(TestDevice testDevice) : base(testDevice) + { + } - public override string Issue => "[UWP] Choppy animation"; + public override string Issue => "[UWP] Choppy animation"; - [Test] - [Category(UITestCategories.Animation)] - [Category(UITestCategories.Compatibility)] - [FailsOnWindowsWhenRunningOnXamarinUITest] - public void Issue1937Test() - { - App.WaitForElement("FAST_TIMER"); - App.Tap("FAST_TIMER"); - App.WaitForNoElement("COMPLETE", timeout: TimeSpan.FromSeconds(2)); - var result = App.WaitForElement("RESULT"); - int.TryParse(result.GetText(), out int timerTicks1); + [Test] + [Category(UITestCategories.Animation)] + [Category(UITestCategories.Compatibility)] + public void Issue1937Test() + { + App.WaitForElement("FAST_TIMER"); + App.Tap("FAST_TIMER"); + Thread.Sleep(TimeSpan.FromSeconds(1)); + App.WaitForElement("COMPLETE"); + var result = App.WaitForElement("RESULT"); + int.TryParse(result.GetText(), out int timerTicks1); - //If fps > 50 then result must be 50. For small fps we use comparing with 35. - ClassicAssert.IsTrue(timerTicks1 > 35, $"Expected timer ticks are greater than 35. Actual: {timerTicks1}"); + //If fps > 50 then result must be 50. For small fps we use comparing with 30. + Assert.That(timerTicks1, Is.GreaterThan(30), + $"Expected timer ticks are greater than 30. Actual: {timerTicks1}"); - App.Tap("SLOW_TIMER"); - App.WaitForNoElement("COMPLETE", timeout: TimeSpan.FromSeconds(2)); - result = App.WaitForElement("RESULT"); - int.TryParse(result.GetText(), out int timerTicks2); + App.Tap("SLOW_TIMER"); + Thread.Sleep(TimeSpan.FromSeconds(1)); + App.WaitForElement("COMPLETE"); + result = App.WaitForElement("RESULT"); + int.TryParse(result.GetText(), out int timerTicks2); - ClassicAssert.IsTrue(timerTicks2 < 11, $"Expected timer ticks are less than 11. Actual: {timerTicks2}"); - } - } + Assert.That(timerTicks2, Is.LessThan(11), + $"Expected timer ticks are less than 11. Actual: {timerTicks2}"); + } + } } -#endif \ No newline at end of file diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue2842.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue2842.cs index 33aee9bc9d55..ce619f177b76 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue2842.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue2842.cs @@ -1,4 +1,4 @@ -#if IOS +#if TEST_FAILS_ON_IOS && TEST_FAILS_ON_CATALYST // The ViewCell in TableView does not resize on iOS and MacCatalyst.More Information:https://github.com/dotnet/maui/issues/23319 using NUnit.Framework; using UITest.Appium; using UITest.Core; @@ -16,12 +16,11 @@ public Issue2842(TestDevice testDevice) : base(testDevice) [Test] [Category(UITestCategories.TabbedPage)] [Category(UITestCategories.Compatibility)] - [FailsOnIOSWhenRunningOnXamarinUITest] public void Issue2842Test() { App.WaitForElement("btnClick"); App.Tap("btnClick"); - App.Screenshot("Verify that the text is not on top of the image"); + VerifyScreenshot(); } } } diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue3275.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue3275.cs index b87e27e2866c..e6227452e650 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue3275.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue3275.cs @@ -17,15 +17,14 @@ public Issue3275(TestDevice testDevice) : base(testDevice) [Test] [Category(UITestCategories.ListView)] - [Category(UITestCategories.Compatibility)] - [FailsOnAllPlatformsWhenRunningOnXamarinUITest] + [Category(UITestCategories.Compatibility)] public void Issue3275Test() { App.WaitForElement(BtnLeakId); App.Tap(BtnLeakId); App.WaitForElement(BtnScrollToId); App.Tap(BtnScrollToId); - App.Back(); + App.TapBackArrow(); App.WaitForElement(BtnLeakId); } } diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue5367.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue5367.cs index 66e7780c6634..84af4c80f85d 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue5367.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue5367.cs @@ -6,8 +6,8 @@ namespace Microsoft.Maui.TestCases.Tests.Issues { public class Issue5367 : _IssuesUITest { - const string MaxLengthEditor = "MaxLength Editor"; - const string ForceBigStringButton = "Force Big String Button"; + const string MaxLengthEditor = "MaxLengthEditor"; + const string ForceBigStringButton = "StringButton"; public Issue5367(TestDevice testDevice) : base(testDevice) { @@ -18,13 +18,13 @@ public Issue5367(TestDevice testDevice) : base(testDevice) [Test] [Category(UITestCategories.Editor)] [Category(UITestCategories.Compatibility)] - [FailsOnAndroidWhenRunningOnXamarinUITest] - [FailsOnIOSWhenRunningOnXamarinUITest] - [FailsOnMacWhenRunningOnXamarinUITest] public void Issue5367Test() { App.WaitForElement(MaxLengthEditor); App.Tap(ForceBigStringButton); + var text = App.WaitForElement(MaxLengthEditor).GetText() ?? string.Empty; + int count = text.Count(); + Assert.That(count, Is.EqualTo(14)); } } } \ No newline at end of file diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/ScrollViewUITests.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/ScrollViewUITests.cs index e2f82caf9e25..fe6e85894717 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/ScrollViewUITests.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/ScrollViewUITests.cs @@ -8,7 +8,7 @@ namespace Microsoft.Maui.TestCases.Tests public class ScrollToUITests : CoreGalleryBasePageTest { const string LayoutGallery = "ScrollView Gallery"; - + protected override bool ResetAfterEachTest => true; public ScrollToUITests(TestDevice device) : base(device) { @@ -19,142 +19,109 @@ protected override void NavigateToGallery() App.NavigateToGallery(LayoutGallery); } -#if ANDROID + [Test] [Description("Scroll element to the start")] - [FailsOnIOSWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnMacWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] public void ScrollToElement1Start() { - if (Device == TestDevice.Android) - { - App.WaitForElement("WaitForStubControl"); - - // 1. Tap a button to scroll to the start position. - App.Tap("Start"); - App.WaitForNoElement("the scrollto button"); - - // 2. Verify that the scroll has moved to the correct position. - App.Screenshot("Element is on the top"); - } - else - { - Assert.Ignore("This test is failing, likely due to product issue"); - } +#if MACCATALYST + // In CI, switches the application to full-screen mode ,full-screen mode may show unexpected offsets or positioning differences due to display scaling. + App.EnterFullScreen(); + // Wait a little bit to complete the system animation moving the App Window to FullScreen. + Thread.Sleep(500); +#endif + App.WaitForElement("WaitForStubControl"); + + // 1. Tap a button to scroll to the start position. + App.Tap("Start"); + App.WaitForElement("the scrollto button"); + + // 2. Verify that the scroll has moved to the correct position. + VerifyScreenshot(); } [Test] [Description("Scroll element to the center")] - [FailsOnIOSWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnMacWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] public void ScrollToElement2Center() { - if (Device == TestDevice.Android) - { - App.WaitForElement("WaitForStubControl"); - - // 1. Tap a button to scroll to the center position. - App.Tap("Center"); - App.WaitForNoElement("the scrollto button"); - - // 2. Verify that the scroll has moved to the correct position. - App.WaitForNoElement("the before"); - App.WaitForNoElement("the after"); - - App.Screenshot("Element is in the center"); - } - else - { - Assert.Ignore("This test is failing, likely due to product issue"); - } +#if MACCATALYST + // In CI, switches the application to full-screen mode ,full-screen mode may show unexpected offsets or positioning differences due to display scaling. + App.EnterFullScreen(); + // Wait a little bit to complete the system animation moving the App Window to FullScreen. + Thread.Sleep(500); +#endif + App.WaitForElement("WaitForStubControl"); + + // 1. Tap a button to scroll to the center position. + App.Tap("CenterPosition"); + App.WaitForElement("the scrollto button"); + + // 2. Verify that the scroll has moved to the correct position. + App.WaitForElement("the before"); + App.WaitForElement("the after"); + VerifyScreenshot(); } [Test] [Description("Scroll element to the end")] - [FailsOnIOSWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnMacWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] public void ScrollToElement3End() { - if (Device == TestDevice.Android) - { - App.WaitForElement("WaitForStubControl"); - - // 1. Tap a button to scroll to the end. - App.Tap("End"); - - // 2. Verify that the scroll has moved to the correct position. - App.WaitForNoElement("the scrollto button"); - App.Screenshot("Element is in the end"); - } - else - { - Assert.Ignore("This test is failing, likely due to product issue"); - } +#if MACCATALYST + // In CI, switches the application to full-screen mode ,full-screen mode may show unexpected offsets or positioning differences due to display scaling. + App.EnterFullScreen(); + // Wait a little bit to complete the system animation moving the App Window to FullScreen. + Thread.Sleep(500); +#endif + App.WaitForElement("WaitForStubControl"); + + // 1. Tap a button to scroll to the end. + App.Tap("End"); + + // 2. Verify that the scroll has moved to the correct position. + App.WaitForElement("the scrollto button"); + VerifyScreenshot(); } [Test] [Description("ScrollTo Y = 100")] - [FailsOnIOSWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnMacWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] public void ScrollToY() { - if (Device == TestDevice.Android) - { - App.WaitForElement("WaitForStubControl"); - - // 1. Tap a button to scroll 100 px. - App.Tap("Scroll100"); - } - else - { - Assert.Ignore("This test is failing, likely due to product issue"); - } + App.WaitForElement("WaitForStubControl"); + + // 1. Tap a button to scroll 100 px. + App.Tap("Scroll100"); } // ScrollToYTwice (src\Compatibility\ControlGallery\src\UITests.Shared\Tests\ScrollViewUITests.cs) [Test] [Description("ScrollTo Y = 100")] - [FailsOnIOSWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnMacWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] + [FailsOnIOSWhenRunningOnXamarinUITest("This test is failing, likely due to product issue, More Information: https://github.com/dotnet/maui/issues/27250")] + [FailsOnMacWhenRunningOnXamarinUITest("This test is failing, likely due to product issue, More Information: https://github.com/dotnet/maui/issues/27250")] + [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue, More Information: https://github.com/dotnet/maui/issues/27250")] public void ScrollToYTwice() { - if (Device == TestDevice.Android) - { - App.WaitForElement("WaitForStubControl"); - - // 1. Tap a button to scroll 100 px. - App.Tap("Scroll100"); - App.WaitForNoElement("completed"); - - // 2. Repeat. - App.Tap("Scroll100"); - App.WaitForNoElement("completed"); - } - else - { - Assert.Ignore("This test is failing, likely due to product issue"); - } + App.WaitForElement("WaitForStubControl"); + + // 1. Tap a button to scroll 100 px. + App.Tap("Scroll100"); + App.WaitForElement("completed"); + + // 2. Repeat. + App.Tap("Scroll100"); + App.WaitForElement("completed"); } -#endif -#if ANDROID || IOS [Test] [Description("Scroll down the ScrollView using a gesture")] - [FailsOnMacWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] - [FailsOnWindowsWhenRunningOnXamarinUITest("This test is failing, likely due to product issue")] public void ScrollUpAndDownWithGestures() { + var text = App.WaitForElement("WaitForStubControl").GetText(); App.ScrollDown("thescroller", ScrollStrategy.Gesture, 0.75); - App.Screenshot("Element scrolled down"); - + var text1 = App.WaitForElement("WaitForStubControl").GetText(); + Assert.That(text1, Is.Not.EqualTo(text)); App.ScrollUp("thescroller", ScrollStrategy.Gesture, 0.75); - App.Screenshot("Element scrolled up"); + var text2 = App.WaitForElement("WaitForStubControl").GetText(); + Assert.That(text2, Is.Not.EqualTo(text1)); } -#endif } } \ No newline at end of file diff --git a/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue2842Test.png b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue2842Test.png new file mode 100644 index 000000000000..428d30baaaf6 Binary files /dev/null and b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/Issue2842Test.png differ diff --git a/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement1Start.png b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement1Start.png new file mode 100644 index 000000000000..7c9d3a3e4455 Binary files /dev/null and b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement1Start.png differ diff --git a/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement2Center.png b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement2Center.png new file mode 100644 index 000000000000..fecc434e50ea Binary files /dev/null and b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement2Center.png differ diff --git a/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement3End.png b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement3End.png new file mode 100644 index 000000000000..ede014f610a4 Binary files /dev/null and b/src/Controls/tests/TestCases.WinUI.Tests/snapshots/windows/ScrollToElement3End.png differ diff --git a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterGridWorks.png b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterGridWorks.png index b66279a9679e..6c7e3ad1cc03 100644 Binary files a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterGridWorks.png and b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterGridWorks.png differ diff --git a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterTemplateWorks.png b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterTemplateWorks.png index 8271c4203dd8..f120cd33b90b 100644 Binary files a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterTemplateWorks.png and b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/HeaderFooterTemplateWorks.png differ diff --git a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement1Start.png b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement1Start.png new file mode 100644 index 000000000000..c728d3554ff3 Binary files /dev/null and b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement1Start.png differ diff --git a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement2Center.png b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement2Center.png new file mode 100644 index 000000000000..c1447c6aafe6 Binary files /dev/null and b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement2Center.png differ diff --git a/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement3End.png b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement3End.png new file mode 100644 index 000000000000..e07c9e25a667 Binary files /dev/null and b/src/Controls/tests/TestCases.iOS.Tests/snapshots/ios/ScrollToElement3End.png differ