Skip to content

Fix OnNavigatedTo not firing after PopModalAsync when tab is changed inside modal#35803

Merged
kubaflo merged 1 commit into
dotnet:inflight/currentfrom
praveenkumarkarunanithi:fix-35756-main
Jun 11, 2026
Merged

Fix OnNavigatedTo not firing after PopModalAsync when tab is changed inside modal#35803
kubaflo merged 1 commit into
dotnet:inflight/currentfrom
praveenkumarkarunanithi:fix-35756-main

fix and test update

10cb3ca
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed Jun 12, 2026 in 3h 59m 48s

Build #10.0.80-ci+pr.35803.azdo.1459866 had test failures

Details

Tests

  • Failed: 10 (0.05%)
  • Passed: 18,183 (98.83%)
  • Other: 205 (1.11%)
  • Total: 18,398

Annotations

Check failure on line 1619 in Build log

See this annotation in the file changed.

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

Build log #L1619

PowerShell exited with code '1'.

Check failure on line 23 in Build log

See this annotation in the file changed.

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

Build log #L23

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 984 in Build log

See this annotation in the file changed.

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

Build log #L984

PowerShell exited with code '1'.

Check failure on line 5587 in Build log

See this annotation in the file changed.

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

Build log #L5587

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.CarouselViewUITests(Android).CarouselViewGoToPreviousCurrentItem

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.CarouselViewUITests(Android).CarouselViewGoToPreviousCurrentItem

The app was expected to be running still, investigate as possible crash
TearDown : The app was expected to be running still, investigate as possible crash
Raw output
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
   at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)

--TearDown
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
   at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)

1)    at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45
   at InvokeStub_UITestBase.TestTearDown(Object, Object, IntPtr*)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests(Android).VerifyDefaultScrollToRequested

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests(Android).VerifyDefaultScrollToRequested

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyDefaultScrollToRequested.png (0.67% 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 VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 477
   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 309
   at Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests.VerifyDefaultScrollToRequested() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ScrollingFeatureTests.cs:line 1576
   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.Issues.Bugzilla59172(Mac).Issue59172Test

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Bugzilla59172(Mac).Issue59172Test

System.TimeoutException : Timed out waiting for element...
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 2786
   at UITest.Appium.HelperExtensions.WaitForElement(IApp app, IQuery query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 925
   at UITest.Appium.HelperExtensions.WaitForElementTillPageNavigationSettled(IApp app, String elementId, Nullable`1 timeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2408
   at Microsoft.Maui.TestCases.Tests.Issues.Bugzilla59172.Issue59172Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Bugzilla/Bugzilla59172.cs:line 29
   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.Issues.Issue16918(Mac).Issue16918Test

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue16918(Mac).Issue16918Test

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Issue16918Test.png (0.54% 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 VisualTestUtils.VisualRegressionTester.Fail(String message) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 162
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext) in /_/src/TestUtils/src/VisualTestUtils/VisualRegressionTester.cs:line 123
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|13_0(String name, <>c__DisplayClass13_0&) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 477
   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, Boolean includeTitleBar) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 309
   at Microsoft.Maui.TestCases.Tests.Issues.Issue16918.Issue16918Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16918.cs:line 22
   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)