Skip to content

Improve VisualState order and prevent sticky Focused visual state#27477

Open
mattleibow wants to merge 22 commits into
net11.0from
dev/focus-visual-states
Open

Improve VisualState order and prevent sticky Focused visual state#27477
mattleibow wants to merge 22 commits into
net11.0from
dev/focus-visual-states

Merge branch 'net11.0' into dev/focus-visual-states

4a88afe
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed Jul 10, 2026 in 3h 21m 59s

Build #11.0.0-ci+pr.27477.azdo.1502159 had test failures

Details

Tests

  • Failed: 25 (0.18%)
  • Passed: 13,522 (98.33%)
  • Other: 205 (1.49%)
  • Total: 13,752

Annotations

Check failure on line 1598 in Build log

See this annotation in the file changed.

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

Build log #L1598

PowerShell exited with code '1'.

Check failure on line 681 in Build log

See this annotation in the file changed.

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

Build log #L681

PowerShell exited with code '1'.

Check failure on line 22 in Build log

See this annotation in the file changed.

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

Build log #L22

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.ImageButtonFeatureTests(iOS).VerifyImageButtonAspect_CenterWithImageSourceFromUri

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.ImageButtonFeatureTests(iOS).VerifyImageButtonAspect_CenterWithImageSourceFromUri

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyImageButtonAspect_CenterWithImageSourceFromUri.png (22.99% 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.ImageButtonFeatureTests.VerifyImageButtonAspect_CenterWithImageSourceFromUri() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ImageButtonFeatureTests.cs:line 299
   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.ImageFeatureTests(iOS).VerifyImageAspect_FillWithImageSourceFromUri

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.ImageFeatureTests(iOS).VerifyImageAspect_FillWithImageSourceFromUri

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyImageAspect_FillWithImageSourceFromUri.png (28.46% 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.ImageFeatureTests.VerifyImageAspect_FillWithImageSourceFromUri() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ImageFeatureTests.cs:line 208
   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.Issue30350(iOS).DownSizeImageAppearProperly

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue30350(iOS).DownSizeImageAppearProperly

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: DownSizeImageAppearProperly.png (21.79% 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.Issue30350.DownSizeImageAppearProperly() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30350.cs:line 20
   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.ImageButtonFeatureTests(iOS).VerifyImageButtonAspect_FillWithImageSourceFromUri

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.ImageButtonFeatureTests(iOS).VerifyImageButtonAspect_FillWithImageSourceFromUri

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyImageButtonAspect_FillWithImageSourceFromUri.png (24.60% 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.ImageButtonFeatureTests.VerifyImageButtonAspect_FillWithImageSourceFromUri() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/ImageButtonFeatureTests.cs:line 165
   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)