Skip to content

[release/10.0.1xx-sr7] [Android] Fix OnBackButtonPressed not invoked for Shell#35430

Merged
PureWeen merged 8 commits into
release/10.0.1xx-sr7from
backport/pr-35150-to-release/10.0.1xx-sr7
May 15, 2026
Merged

[release/10.0.1xx-sr7] [Android] Fix OnBackButtonPressed not invoked for Shell#35430
PureWeen merged 8 commits into
release/10.0.1xx-sr7from
backport/pr-35150-to-release/10.0.1xx-sr7

Addressed the concern

271bcdb
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests succeeded May 15, 2026 in 2h 18m 33s

Build #10.0.70-ci+pr.35430.azdo.1419528 had test failures

Details

Tests

  • Failed: 71 (0.39%)
  • Passed: 18,118 (98.51%)
  • Other: 203 (1.10%)
  • Total: 18,392

Annotations

Check failure on line 1156 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L1156

PowerShell exited with code '1'.

Check failure on line 2403 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L2403

PowerShell exited with code '1'.

Check failure on line 787 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L787

PowerShell exited with code '1'.

Check failure on line 1820 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L1820

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.DragAndDropUITests(Windows).DragEvents

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.DragAndDropUITests(Windows).DragEvents

  Assert.That(textAfterDragOver, Is.EqualTo("DragOver"))
  Expected string length 8 but was 16. Strings differ at index 8.
  Expected: "DragOver"
  But was:  "DragOverEvents: "
  -------------------^
Raw output
   at Microsoft.Maui.TestCases.Tests.DragAndDropUITests.DragEvents() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/DragAndDropUITests.cs:line 56

1)    at Microsoft.Maui.TestCases.Tests.DragAndDropUITests.DragEvents() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/DragAndDropUITests.cs:line 56

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue22306(Android).ButtonsLayoutResolveWhenParentSizeChanges

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.Issues.Issue22306(Android).ButtonsLayoutResolveWhenParentSizeChanges

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ButtonsLayoutResolveWhenParentSizeChangesOriginal2.png (1.85% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.

More info: https://aka.ms/visual-test-workflow
Raw output
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name, Nullable`1 retryDelay, Nullable`1 retryTimeout, Int32 cropLeft, Int32 cropRight, Int32 cropTop, Int32 cropBottom, Double tolerance) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.Issues.Issue22306.ButtonsLayoutResolveWhenParentSizeChanges() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue22306.cs:line 49
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryControlWhenPlaceholderTextSet

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryControlWhenPlaceholderTextSet

OneTimeSetUp: System.TimeoutException : Timed out waiting for Go To Test button to appear
Raw output
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
   at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
   at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
   at Microsoft.Maui.TestCases.Tests.UtilExtensions.NavigateToGallery(IApp app, String page) in /_/src/Controls/tests/TestCases.Shared.Tests/UtilExtensions.cs:line 37
   at Microsoft.Maui.TestCases.Tests._GalleryUITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_GalleryUITest.cs:line 57
   at UITest.Appium.NUnit.UITestBase.OneTimeSetup() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 221
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyClearButtonVisiblityWhenIsPasswordTrueOrFalse

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyClearButtonVisiblityWhenIsPasswordTrueOrFalse

OneTimeSetUp: System.TimeoutException : Timed out waiting for Go To Test button to appear
Raw output
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
   at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
   at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 793
   at Microsoft.Maui.TestCases.Tests.UtilExtensions.NavigateToGallery(IApp app, String page) in /_/src/Controls/tests/TestCases.Shared.Tests/UtilExtensions.cs:line 37
   at Microsoft.Maui.TestCases.Tests._GalleryUITest.FixtureSetup() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/_GalleryUITest.cs:line 57
   at UITest.Appium.NUnit.UITestBase.OneTimeSetup() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 221
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)