fix(xLoad): fix unload-reload scenarios when using x:Bind with x:Load #19174
Build #5.7.0-PullRequest-19174-152346-19174.154 had test failures
Details
- Failed: 69 (0.02%)
- Passed: 269,989 (92.65%)
- Other: 21,354 (7.33%)
- Total: 291,412
Annotations
Check failure on line 128 in Build log
azure-pipelines / Uno.UI - CI
Build log #L128
Bash exited with code '1'.
Check failure on line 130 in Build log
azure-pipelines / Uno.UI - CI
Build log #L130
Bash exited with code '1'.
Check failure on line 130449 in Build log
azure-pipelines / Uno.UI - CI
Build log #L130449
The Operation will be canceled. The next steps may not contain expected logs.
Check failure on line 1 in When_RenderNotOpaqueContent_Then_ImageNotOpaque()
azure-pipelines / Uno.UI - CI
When_RenderNotOpaqueContent_Then_ImageNotOpaque()
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. ImageAssert.HasColorAt @ line 162
====================
Color at (5,5) is not expected
expected: 80CC0000 #80CC0000
actual : 80CB4543 #80CB4543
tolerance : 1
difference: 69
screenshot size: 10x10
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.Windows_UI_Xaml_Media_Imaging.Given_RenderTargetBitmap.When_RenderNotOpaqueContent_Then_ImageNotOpaque()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()
Check failure on line 1 in When_xLoad_Set_Back_And_Forth()
azure-pipelines / Uno.UI - CI
When_xLoad_Set_Back_And_Forth()
System.NullReferenceException: Object reference not set to an instance of an object
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml.Given_xLoad.When_xLoad_Set_Back_And_Forth()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|5>d.MoveNext()
azure-pipelines / Uno.UI - CI
SamplesApp.UITests.Windows_UI_Xaml_Controls.ListViewTests.ListViewTests_Tests.When_ExtendedSelectionWithoutItemClick_Then_PointersEvents
Expected pageEntered to be "D" because entered page, but "-" differs near "-" (index 0).
Raw output
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.StringEqualityValidator.ValidateAgainstMismatch()
at FluentAssertions.Primitives.StringValidator.Validate()
at FluentAssertions.Primitives.StringAssertions.Be(String expected, String because, Object[] becauseArgs)
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 94
at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
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)
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)