Skip to content

[release/11.0.1xx-preview7] Fix Label UI test page recreation - #37043

Closed
kubaflo wants to merge 2 commits into
release/11.0.1xx-preview7from
kubaflo/fix-preview7-label-page-recreation
Closed

kubaflo wants to merge 2 commits into
release/11.0.1xx-preview7from
kubaflo/fix-preview7-label-page-recreation

Guard LabelControlMainPage recreation against re-entrancy

c48d038
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed Aug 3, 2026 in 3h 49m 51s

Build #11.0.0-ci+pr.37043.azdo.1537882 had test failures

Details

Tests

  • Failed: 22 (0.16%)
  • Passed: 13,542 (98.44%)
  • Other: 192 (1.40%)
  • Total: 13,756

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

See this annotation in the file changed.

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

Build log #L679

PowerShell exited with code '1'.

Check failure on line 1161 in Build log

See this annotation in the file changed.

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

Build log #L1161

PowerShell exited with code '1'.

Check failure on line 2289 in Build log

See this annotation in the file changed.

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

Build log #L2289

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.LabelFeatureTests(Android).VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.LabelFeatureTests(Android).VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation.png (3.86% 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.LabelFeatureTests.VerifyLabelWithFormattedTextWhenLineBreakModeTailTruncation() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/LabelFeatureTests.cs:line 451
   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.LabelFeatureTests(Android).VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.LabelFeatureTests(Android).VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation.png (3.14% 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.LabelFeatureTests.VerifyLabelWithFormattedTextWhenLineBreakModeHeadTruncation() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/LabelFeatureTests.cs:line 519
   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.LabelFeatureTests(Android).VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.LabelFeatureTests(Android).VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation.png (3.81% 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.LabelFeatureTests.VerifyLabelWithFormattedTextWhenLineBreakModeMiddleTruncation() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/LabelFeatureTests.cs:line 537
   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.LabelFeatureTests(Windows).VerifyLabelWithTextAndFontColor

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.LabelFeatureTests(Windows).VerifyLabelWithTextAndFontColor

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: VerifyLabelWithTextAndFontColor.png (1.83% 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, Boolean includeTitleBar) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 296
   at Microsoft.Maui.TestCases.Tests.LabelFeatureTests.VerifyLabelWithTextAndFontColor() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/LabelFeatureTests.cs:line 590
   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)