diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownLandscape.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownLandscape.png index 9d4dc196b5a3..a29671215a79 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownLandscape.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/ButtonsLayoutResolveWhenParentSizeChangesSizeButtonsDownLandscape.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/HorizontalStackLayout_Spacing_WithLandscape.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/HorizontalStackLayout_Spacing_WithLandscape.png index 569fc361f982..35dd2f090653 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/HorizontalStackLayout_Spacing_WithLandscape.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/HorizontalStackLayout_Spacing_WithLandscape.png differ diff --git a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerticalStackLayout_Spacing_WithLandscape.png b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerticalStackLayout_Spacing_WithLandscape.png index dc256b312a21..bb4295ff31db 100644 Binary files a/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerticalStackLayout_Spacing_WithLandscape.png and b/src/Controls/tests/TestCases.Android.Tests/snapshots/android/VerticalStackLayout_Spacing_WithLandscape.png differ diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/StackLayoutFeatureTests.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/StackLayoutFeatureTests.cs index a7e3f914d0dd..7699d6fd661e 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/StackLayoutFeatureTests.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/StackLayoutFeatureTests.cs @@ -411,7 +411,11 @@ public void HorizontalStackLayout_Spacing_WithLandscape() App.WaitForElement("Apply"); App.Tap("Apply"); +#if ANDROID + VerifyScreenshot(cropLeft: 125); +#else VerifyScreenshot(); +#endif } [Test] @@ -432,7 +436,11 @@ public void VerticalStackLayout_Spacing_WithLandscape() App.WaitForElement("Apply"); App.Tap("Apply"); +#if ANDROID + VerifyScreenshot(cropLeft: 125); +#else VerifyScreenshot(); +#endif } #endif } \ No newline at end of file diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22306.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22306.cs index b416f91f2f95..358b4dc73c6d 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22306.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22306.cs @@ -32,7 +32,12 @@ public void ButtonsLayoutResolveWhenParentSizeChanges() App.SetOrientationLandscape(); WaitForAllElements(); +#if ANDROID + VerifyScreenshot(TestContext.CurrentContext.Test.MethodName + "SizeButtonsDownLandscape", cropLeft: 125); +#else VerifyScreenshot(TestContext.CurrentContext.Test.MethodName + "SizeButtonsDownLandscape"); +#endif + changeBoundsButton.Click(); WaitForAllElements();