fix: Avoid XBF changes to not break WinAppSDK build #17993
Build #5.4.0-PullRequest-17993-137020-17993.1548 had test failures
Details
- Failed: 645 (0.63%)
- Passed: 92,859 (91.25%)
- Other: 8,254 (8.11%)
- Total: 101,758
Annotations
Check failure on line 0 in EXEC
azure-pipelines / Uno.UI - CI
EXEC#L0
EXEC(0,0): Error : The member System.Boolean Uno.UI.FeatureConfiguration/Popup::get_PreventLightDismissOnWindowDeactivated() cannot be found in reference API
Check failure on line 0 in EXEC
azure-pipelines / Uno.UI - CI
EXEC#L0
EXEC(0,0): Error : The member System.Void Uno.UI.FeatureConfiguration/Popup::set_PreventLightDismissOnWindowDeactivated(System.Boolean) cannot be found in reference API
Check failure on line 0 in EXEC
azure-pipelines / Uno.UI - CI
EXEC#L0
EXEC(0,0): Error : The member System.Boolean Uno.UI.FeatureConfiguration/Popup::PreventLightDismissOnWindowDeactivated() cannot be found in reference API
Check failure on line 0 in EXEC
azure-pipelines / Uno.UI - CI
EXEC#L0
EXEC(0,0): Error : The member System.Boolean Uno.UI.FeatureConfiguration/Popup::get_PreventLightDismissOnWindowDeactivated() cannot be found in reference API
Check failure on line 1 in When_Stretch(Uniform, True)
azure-pipelines / Uno.UI - CI
When_Stretch(Uniform, True)
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. ImageAssert.HasColorAt @ line 111
====================
Color at (6,50) is not expected
expected: FFEB1C24 #FFEB1C24
actual : 00000000 #00000000
tolerance: 28
difference: 255
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message, Object[] parameters)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAtImpl(RawBitmap screenshot, Int32 x, Int32 y, Color expectedColor, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAt(RawBitmap screenshot, Single x, Single y, String expectedColorCode, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Media.Given_ImageBrush.When_Stretch(Stretch stretch, Boolean useRectangle)
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()
Check failure on line 1 in When_MaxVisiblePips_GreaterThan_NumberOfPages_Vertical()
azure-pipelines / Uno.UI - CI
When_MaxVisiblePips_GreaterThan_NumberOfPages_Vertical()
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. ImageAssert.HasColorAt @ line 71
====================
Color at (30,15) is not expected
expected: 00000000 #00000000
actual : FF000000 #FF000000
tolerance: 0
difference: 255
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message, Object[] parameters)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAtImpl(RawBitmap screenshot, Int32 x, Int32 y, Color expectedColor, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasColorAt(RawBitmap screenshot, Single x, Single y, Color expectedColor, Byte tolerance, Int32 line)
at Uno.UI.RuntimeTests.Tests.Microsoft_UI_Xaml_Controls.Given_PipsPager.When_MaxVisiblePips_GreaterThan_NumberOfPages_Vertical()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()
azure-pipelines / Uno.UI - CI
SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_MultipleSelectionWithoutItemClick_Then_PointersEvents
System.Exception : Error while performing WaitFor([unknown], "Timed out waiting...", 00:00:30, 00:00:00.0500000, null)
----> System.TimeoutException : Timed out waiting...
Raw output
at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)
at Xamarin.UITest.iOS.iOSApp.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
at Uno.UITest.Xamarin.XamarinApp.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
at SamplesApp.UITests.SampleControlUITestBase.Run(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 483
at SamplesApp.UITests.SampleControlUITestBase.RunAsync(String metadataName, Boolean waitForSampleControl, Boolean skipInitialScreenshot, Int32 sampleLoadTimeout) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/SampleControlUITestBase.cs:line 460
at SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.RunTest(String test, Boolean clicked) in /Users/runner/work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ListViewTests/Selection_Pointers.cs:line 63
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)
--TimeoutException
at Xamarin.UITest.Shared.WaitForHelper.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
at Xamarin.UITest.iOS.iOSApp.<>c__DisplayClass57_0.<WaitFor>b__0()
at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)
Check failure on line 1 in ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys()
azure-pipelines / Uno.UI - CI
ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys()
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Expected object to be [865, -679], but found [865, 44].
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
at FluentAssertions.Primitives.ObjectAssertions.Be(Object expected, String because, Object[] becauseArgs)
at Private.Infrastructure.TestServices.VERIFY_ARE_EQUAL[Point](Point actual, Point expected, String message)
at Microsoft.UI.Xaml.Tests.Enterprise.BaseDxamlTestClass.VERIFY_ARE_EQUAL[Point](Point actual, Point expected, String message)
at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.<>c__DisplayClass25_0.<ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys>b__4()
at Private.Infrastructure.TestServices.<>c__DisplayClass1_0.<RunOnUIThread>b__0()
at Private.Infrastructure.UnitTestDispatcherCompat.<>c__DisplayClass18_0.<RunAsync>b__0()
--- End of stack trace from previous location ---
at Private.Infrastructure.TestServices.RunOnUIThread(Action action)
at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateOverflowScrollViewerDoesNotScrollWithArrowKeys()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()