Skip to content

[Controls][Net11][WIP]VisualElement: Obsolete BackgroundColor in favor of Background - #36130

Draft
KarthikRajaKalaimani wants to merge 47 commits into
dotnet:net11.0from
KarthikRajaKalaimani:fix-28854
Draft

[Controls][Net11][WIP]VisualElement: Obsolete BackgroundColor in favor of Background#36130
KarthikRajaKalaimani wants to merge 47 commits into
dotnet:net11.0from
KarthikRajaKalaimani:fix-28854

[net11.0][Android] Fix Shell fragment teardown

ac14204
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed Jul 31, 2026 in 1h 46m 44s

Build #11.0.0-ci+pr.36130.azdo.1534890 had test failures

Details

Tests

  • Failed: 10 (0.07%)
  • Passed: 15,131 (98.57%)
  • Other: 209 (1.36%)
  • Total: 15,350

Annotations

Check failure on line 1602 in Build log

See this annotation in the file changed.

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

Build log #L1602

PowerShell exited with code '1'.

Check failure on line 1899 in Build log

See this annotation in the file changed.

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

Build log #L1899

PowerShell exited with code '1'.

Check failure on line 3651 in Build log

See this annotation in the file changed.

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

Build log #L3651

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 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue35125(Android).TopTabUnselectedTextVisibleWhenSwitchingTabs

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue35125(Android).TopTabUnselectedTextVisibleWhenSwitchingTabs

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: TopTabUnselectedTextVisibleWhenSwitchingTabs.png (3.07% 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 485
   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.Issue35125.TopTabUnselectedTextVisibleWhenSwitchingTabs() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35125.cs:line 24
   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.Issue35113(Windows).HorizontalGridFooterExpandsToContentWidth

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue35113(Windows).HorizontalGridFooterExpandsToContentWidth

  Footer width 0 should be > 100 when fully expanded. If ~30, ScrollDirection was not set on the supplementary TemplatedCell2.
Assert.That(rect.Width, Is.GreaterThan(100))
  Expected: greater than 100
  But was:  0
Raw output
   at Microsoft.Maui.TestCases.Tests.Issues.Issue35113.HorizontalGridFooterExpandsToContentWidth() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35113.cs:line 38

1)    at Microsoft.Maui.TestCases.Tests.Issues.Issue35113.HorizontalGridFooterExpandsToContentWidth() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35113.cs:line 38

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue20615(Windows).CollectionViewSelectedItemBackgroundLost

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue20615(Windows).CollectionViewSelectedItemBackgroundLost

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: CollectionViewSelectedItemBackgroundLost.png (4.44% 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 485
   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.Issue20615.CollectionViewSelectedItemBackgroundLost() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue20615.cs:line 21
   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.Issue29484(Windows).PointerOverWithSelectedStateShouldWork

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue29484(Windows).PointerOverWithSelectedStateShouldWork

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: PointerOverWithSelectedStateShouldWork.png (9.28% 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 485
   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.Issue29484.PointerOverWithSelectedStateShouldWork() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue29484.cs:line 24
   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)