Fix Entry select all text on refocus not working on WinUI - #35383
.NET Result Analysis
Details
Tip
To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.
Known Repository Errors
Known Infrastructure Errors
-
❌10.0.80-ci+pr.35383.azdo.1435914 / macOS UITests / Controls / Controls Layout - slow macOS - "##[error]The job running on agent Azure Pipelines 9 ran longer than the maximum time of 60 minutes."
Build Failures
maui-pr / Run Helix Unit Tests / Windows Helix Unit Tests (Debug) / 🛠️ Build BuildTasks
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]-
❌src\Controls\src\Core\RadioButton\RadioButton.cs(402,27): error CS0111: Type 'RadioButton' already defines a member called 'OnPropertyChanged' with the same parameter types
-
❌.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(845,9): error MSB3073: The command ""D:\a\_work\1\s\.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\..\tools\net6.0\..\net472\XamlCompiler.exe" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Debug\net10.0-windows10.0.19041.0\\input.json" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Debug\net10.0-windows10.0.19041.0\\output.json"" exited with code 1.
-
❌.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(845,9): error MSB3073: The command ""D:\a\_work\1\s\.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\..\tools\net6.0\..\net472\XamlCompiler.exe" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Debug\net10.0-windows10.0.20348.0\\input.json" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Debug\net10.0-windows10.0.20348.0\\output.json"" exited with code 1.
maui-pr / Run Helix Unit Tests / Windows Helix Unit Tests (Release) / 🛠️ Build BuildTasks
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]-
❌src\Controls\src\Core\RadioButton\RadioButton.cs(402,27): error CS0111: Type 'RadioButton' already defines a member called 'OnPropertyChanged' with the same parameter types
-
❌.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(845,9): error MSB3073: The command ""D:\a\_work\1\s\.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\..\tools\net6.0\..\net472\XamlCompiler.exe" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net10.0-windows10.0.20348.0\\input.json" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net10.0-windows10.0.20348.0\\output.json"" exited with code 1.
-
❌.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.interop.targets(845,9): error MSB3073: The command ""D:\a\_work\1\s\.packages\microsoft.windowsappsdk.winui\1.8.251105000\buildTransitive\..\tools\net6.0\..\net472\XamlCompiler.exe" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net10.0-windows10.0.19041.0\\input.json" "D:\a\_work\1\s\artifacts\obj\Controls.Core\Release\net10.0-windows10.0.19041.0\\output.json"" exited with code 1.
maui-pr / Pack .NET MAUI / Pack macOS / Pack
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]-
❌src/Controls/src/Core/RadioButton/RadioButton.cs(402,27): error CS0111: Type 'RadioButton' already defines a member called 'OnPropertyChanged' with the same parameter types
10 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [maui-pr] [maui-pr-uitests]
Known test errors
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithCharacterSpacing - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithPasswordTrue - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenFontFamilySetValue - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyCursorPositionWhenSelectionLengthSetValue - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyIsPasswordBasedOnHorizontalTextAlignment - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryWhenTextChanged - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyClearButtonVisiblityWhenTextPresentOrEmpty - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryCompletedEvent - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryControlWhenPlaceholderColorSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithFontAttributes - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyIsPasswordWhenMaxLenghtSetValue - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenFontSizeSetCorrectly - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryUnfocusedEvent - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenIsPasswordTrueOrFalse - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenAlingnedHorizontally - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntry_WithShadow - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenClearButtonVisibleSetNever - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithVerticalAlignment - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyClearVisiblityButtonWhenTextColorChanged - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenCharacterSpacingSetValues - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryControlWhenPlaceholderTextSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenAlingnedVertically - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryTextChangedEvent - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyInitialEventStates - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenFontAttributesSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyVerticalTextAlignmentBasedOnCharacterSpacing - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryControlWhenFlowDirectionSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyEntryControlWhenIsVisibleTrueOrFalse - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenSelectionLengthSetValue - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyClearButtonVisiblityWhenIsPasswordTrueOrFalse - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithClearButtonVisible - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenKeyboardTypeSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenTextColorSetCorrectly - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyCharacterSpacingWhenFontFamily - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenReturmCommandAndReturnCommandParameter - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenMaxLengthSetValue - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyClearButtonVisiblityWhenTextAlignedHorizontally - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyIsPasswordWhenCursorPositionValueSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyIsPasswordBasedOnCharacterSpacing - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyHorizontalTextAlignmentBasedOnCharacterSpacing - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithFontSize - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenTextTransFormSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyIsPasswordWhenFontSizeSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithFontFamily - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyTextWhenCursorPositionValueSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyHorizontalTextAlignmentWhenVerticalTextAlignmentSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithHorizontalAlignment - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyCharacterSpacingWhenMaxLengthSet - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWithShadow - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyClearButtonVisiblityWhenTextAlignedVertically - System.TimeoutException
-
❌Microsoft.Maui.TestCases.Tests.EntryFeatureTests(Android).VerifyPlaceholderWhenFlowDirectionSet - System.TimeoutException
Test Failures (5 tests failed)
🔹 [All failing tests from maui-pr-uitests]
- Exception Message
Assert.That(App.WaitForElement("LastIndexLabel").GetText(), Is.EqualTo("30")) String lengths are both 2. Strings differ at index 0. Expected: "30" But was: "51" -----------^- CallStack
at Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests.VerifyGroupItemScrollToByIndexWithEndPositionAndHorizontalGrid_Potato() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ScrollingFeatureTests.cs:line 3623
1) at Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests.VerifyGroupItemScrollToByIndexWithEndPositionAndHorizontalGrid_Potato() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/CollectionView_ScrollingFeatureTests.cs:line 3623
- Exception Message
VisualTestUtils.VisualTestFailedException : Snapshot different than baseline: VerifyEditorControlWhenFlowDirectionSet.png (0.66% 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
- CallStack
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.EditorFeatureTests.VerifyEditorControlWhenFlowDirectionSet() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/EditorFeatureTests.cs:line 526 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)
- Exception Message
VisualTestUtils.VisualTestFailedException : Snapshot different than baseline: VerifyEditorTextWhenAlingnedHorizontally.png (0.65% 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
- CallStack
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.EditorFeatureTests.VerifyEditorTextWhenAlingnedHorizontally() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/EditorFeatureTests.cs:line 111 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)
- Exception Message
VisualTestUtils.VisualTestFailedException : Snapshot different than baseline: VerifyEditorVerticalTextAlignmentBasedOnCharacterSpacing.png (0.65% 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
- CallStack
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.EditorFeatureTests.VerifyEditorVerticalTextAlignmentBasedOnCharacterSpacing() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/EditorFeatureTests.cs:line 198 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)
❌ Microsoft.Maui.TestCases.Tests.CollectionView_ScrollingFeatureTests(Android).VerifyGroupItemScrollToByIndexWithEndPositionAndHorizontalGrid_Potato [Details] [6.21% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
Failing Configuration
❌ Microsoft.Maui.TestCases.Tests.EditorFeatureTests(Windows).VerifyEditorControlWhenFlowDirectionSet [Details] [27.72% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
Failing Configuration
❌ Microsoft.Maui.TestCases.Tests.EditorFeatureTests(Windows).VerifyEditorTextWhenAlingnedHorizontally [Details] [27.72% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]
Failing Configuration
❌ Microsoft.Maui.TestCases.Tests.EditorFeatureTests(Windows).VerifyEditorVerticalTextAlignmentBasedOnCharacterSpacing [Details] [27.72% failure rate]
-
[ 🚧 Create issue against infrastructure team] [ 📄 Create issue in this repo]