Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Do not destroy the singleton Window for single-window targets (backport #18369) #18389

Merged

test: Add a manual test for single window close

26c5b08
Select commit
Loading
Failed to load commit list.
Merged

fix: Do not destroy the singleton Window for single-window targets (backport #18369) #18389

test: Add a manual test for single window close
26c5b08
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno.UI - CI failed Oct 4, 2024 in 5m 49s

Build #5.5.0-PullRequest-18389-142170-18389.125 had test failures

Details

Tests

  • 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

See this annotation in the file changed.

@azure-pipelines 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

See this annotation in the file changed.

@azure-pipelines 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()

See this annotation in the file changed.

@azure-pipelines 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()

See this annotation in the file changed.

@azure-pipelines 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()

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Controls.ButtonTests.UnoSamples_Test_Button_Click.Button_Events

See this annotation in the file changed.

@azure-pipelines 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()

See this annotation in the file changed.

@azure-pipelines 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()