fix: Do not destroy the singleton Window for single-window targets (backport #18369) #18389
Build #5.5.0-PullRequest-18389-142170-18389.125 had test failures
Details
- Failed: 217 (0.22%)
- Passed: 87,602 (90.39%)
- Other: 9,098 (9.39%)
- Total: 96,917
Annotations
Check failure on line 20 in Build log
azure-pipelines / Uno.UI - CI
Build log #L20
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 20 in Build log
azure-pipelines / Uno.UI - CI
Build log #L20
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 When_Image_Is_Monochromatic()
azure-pipelines / Uno.UI - CI
When_Image_Is_Monochromatic()
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Center
center:
0,0: expected: FFFF0000 | actual: [50,75] FF0000FF
a tolerance of 255 [Exclusive] would be required for this test to pass.
Current: No color tolerance
Top-left
top-left:
0,0: expected: FFFF0000 | actual: [0,0] FF0000FF
a tolerance of 255 [Exclusive] would be required for this test to pass.
Current: No color tolerance
Top-right
top-right:
0,0: expected: FFFF0000 | actual: [99,0] FF0000FF
a tolerance of 255 [Exclusive] would be required for this test to pass.
Current: No color tolerance
Bottom-left
bottom-left:
0,0: expected: FFFF0000 | actual: [0,149] FF0000FF
a tolerance of 255 [Exclusive] would be required for this test to pass.
Current: No color tolerance
Bottom-right
bottom-right:
0,0: expected: FFFF0000 | actual: [99,149] FF0000FF
a tolerance of 255 [Exclusive] would be required for this test to pass.
Current: No color tolerance
at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
at FluentAssertions.Execution.CollectingAssertionStrategy.ThrowIfAny(IDictionary`2 context)
at FluentAssertions.Execution.AssertionScope.Dispose()
at Uno.UI.RuntimeTests.Helpers.ImageAssert.HasPixels(RawBitmap actual, ExpectedPixels[] expectations)
at Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Given_Image.When_Image_Is_Monochromatic()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()
Check failure on line 1 in ValidateDynamicOverflowOrderBasic()
azure-pipelines / Uno.UI - CI
ValidateDynamicOverflowOrderBasic()
System.TimeoutException: Timed out waiting for event to fire
at Microsoft.UI.Xaml.Tests.Enterprise.Event.WaitForDefault(Int32 timeout, CancellationToken ct)
at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.CloseCommandBar(CommandBar cmdBar)
at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateDynamicOverflowWorker(CommandBar cmdBar, Boolean isPrimaryCommandMovedToOverflow, Int32 numButtonsToAddExtraToPrimary, Int32 numButtonsToAddToSecondary, Boolean isSetOrder)
at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.ValidateDynamicOverflowOrderBasic()
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.ButtonTests.UnoSamples_Test_Button_Click.Button_Events
Expected count to be 2 because after tapped though invisible, but found 1.
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.Numeric.NumericAssertions`1.Be(T expected, String because, Object[] becauseArgs)
at SamplesApp.UITests.Windows_UI_Xaml_Controls.ButtonTests.UnoSamples_Test_Button_Click.<Button_Events>g__CheckCount|1_1(QueryEx mark, Int32 expected, String msg) in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ButtonTests/UnoSamples_Test_Button_Click.cs:line 141
at SamplesApp.UITests.Windows_UI_Xaml_Controls.ButtonTests.UnoSamples_Test_Button_Click.Button_Events() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/ButtonTests/UnoSamples_Test_Button_Click.cs:line 157
Check failure on line 1 in MoveItemsBetweenPrimaryAndSecondaryCommands()
azure-pipelines / Uno.UI - CI
MoveItemsBetweenPrimaryAndSecondaryCommands()
System.TimeoutException: Timed out waiting for event to fire
at Microsoft.UI.Xaml.Tests.Enterprise.Event.WaitForDefault(Int32 timeout, CancellationToken ct)
at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.CloseCommandBar(CommandBar cmdBar)
at Windows.UI.Tests.Enterprise.CommandBarIntegrationTests.MoveItemsBetweenPrimaryAndSecondaryCommands()
at Uno.UI.Samples.Tests.UnitTestsControl.<>c__DisplayClass63_1.<<ExecuteTestsForInstance>g__InvokeTestMethod|4>d.MoveNext()