Skip to content

[Windows][net11] Make Layout AutomationPeer public + opt-in for screen reader tree#35597

Open
Redth wants to merge 3 commits into
net11.0from
redth/contentview-automation
Open

[Windows][net11] Make Layout AutomationPeer public + opt-in for screen reader tree#35597
Redth wants to merge 3 commits into
net11.0from
redth/contentview-automation

Merge net11.0 (resolve net-windows PublicAPI conflict)

71bc21f
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed Jun 17, 2026 in 4h 14m 26s

Build #11.0.0-ci+pr.35597.azdo.1468371 had test failures

Details

Tests

  • Failed: 93 (0.41%)
  • Passed: 22,271 (98.26%)
  • Other: 302 (1.33%)
  • Total: 22,666

Annotations

Check failure on line 33 in Build log

See this annotation in the file changed.

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

Build log #L33

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 1594 in Build log

See this annotation in the file changed.

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

Build log #L1594

PowerShell exited with code '1'.

Check failure on line 856 in Build log

See this annotation in the file changed.

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

Build log #L856

PowerShell exited with code '1'.

Check failure on line 1649 in Build log

See this annotation in the file changed.

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

Build log #L1649

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue1937(Windows).Issue1937Test

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue1937(Windows).Issue1937Test

  Expected timer ticks are greater than 30. Actual: 1
Assert.That(timerTicks1, Is.GreaterThan(30))
  Expected: greater than 30
  But was:  1
Raw output
   at Microsoft.Maui.TestCases.Tests.Issues.Issue1937.Issue1937Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1937.cs:line 27

1)    at Microsoft.Maui.TestCases.Tests.Issues.Issue1937.Issue1937Test() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue1937.cs:line 27

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue33038(Android).LayoutShouldBeCorrectOnFirstNavigation

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue33038(Android).LayoutShouldBeCorrectOnFirstNavigation

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: LayoutShouldBeCorrectOnFirstNavigation.png (2.04% 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.Issues.Issue33038.LayoutShouldBeCorrectOnFirstNavigation() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33038.cs:line 22
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   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.Issue35063(Android).Material3_TabbedPage_BottomTabsOverflowingContents

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue35063(Android).Material3_TabbedPage_BottomTabsOverflowingContents

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: Material3_TabbedPage_BottomTabsOverflowingContents.png (1.08% 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.Issues.Issue35063.Material3_TabbedPage_BottomTabsOverflowingContents() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35063.cs:line 23
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   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.Issue34273(Android).EditorNoOverlapAfterRotateToPortrait

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue34273(Android).EditorNoOverlapAfterRotateToPortrait

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.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 795
   at Microsoft.Maui.TestCases.Tests.Issues.Issue34273.EditorNoOverlapAfterRotateToPortrait() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue34273.cs:line 37
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)