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: Improve DateTimeFormatter template matching and mappings #19099

Merged
merged 2 commits into from
Jan 2, 2025

chore: Add runtime test for Time format

0e9220e
Select commit
Loading
Failed to load commit list.
Merged

fix: Improve DateTimeFormatter template matching and mappings #19099

chore: Add runtime test for Time format
0e9220e
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Uno.UI - CI succeeded Dec 18, 2024 in 58m 50s

Build #5.6.0-PullRequest-19099-150482-19099.1224 had test failures

Details

Tests

  • Failed: 887 (0.70%)
  • Passed: 114,891 (91.26%)
  • Other: 10,114 (8.03%)
  • Total: 125,892

Annotations

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Automation.AutomationId_Tests.TestSimple

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

SamplesApp.UITests.Windows_UI_Xaml_Automation.AutomationId_Tests.TestSimple

System.Exception : Error while performing WaitFor([unknown], "Failed to find [Item 01] on [Text]", null, null, null)
  ----> System.TimeoutException : Failed to find [Item 01] on [Text]
Raw output
   at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)
   at Xamarin.UITest.Android.AndroidApp.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 Uno.UITest.Helpers.Queries.QueryExtensions.WaitForDependencyPropertyValue[T](IApp app, Func`2 element, String dependencyPropertyName, T expectedValue)
   at SamplesApp.UITests.Windows_UI_Xaml_Automation.AutomationId_Tests.TestSimple() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Automation/AutomationId_Tests.cs:line 31
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--TimeoutException
   at Xamarin.UITest.Shared.WaitForHelper.WaitFor(Func`1 predicate, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Xamarin.UITest.Android.AndroidApp.<>c__DisplayClass79_0.<WaitFor>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With(Action func, Object[] args, String memberName)

Check failure on line 1 in SamplesApp.UITests.Microsoft_UI_Xaml_Controls.TabViewTests.Given_TabView_Uno.SelectionContentTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

SamplesApp.UITests.Microsoft_UI_Xaml_Controls.TabViewTests.Given_TabView_Uno.SelectionContentTest

  String lengths are both 5. Strings differ at index 4.
  Expected: "Tab 2"
  But was:  "Tab 1"
  ---------------^
Raw output
   at SamplesApp.UITests.Microsoft_UI_Xaml_Controls.TabViewTests.Given_TabView_Uno.SelectionContentTest() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Microsoft_UI_Xaml_Controls/TabViewTests/Given_TabView_Uno.cs:line 25

1)    at SamplesApp.UITests.Microsoft_UI_Xaml_Controls.TabViewTests.Given_TabView_Uno.SelectionContentTest() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Microsoft_UI_Xaml_Controls/TabViewTests/Given_TabView_Uno.cs:line 25

Check failure on line 1 in SamplesApp.UITests.Microsoft_UI_Xaml_Controls.NumberBoxTests.NumberBoxTests.UpDownTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

SamplesApp.UITests.Microsoft_UI_Xaml_Controls.NumberBoxTests.NumberBoxTests.UpDownTest

  Expected: 1
  But was:  0.0d
Raw output
   at SamplesApp.UITests.Microsoft_UI_Xaml_Controls.NumberBoxTests.NumberBoxTests.UpDownTest() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Microsoft_UI_Xaml_Controls/NumberBoxTests/Given_NumberBox.cs:line 33

1)    at SamplesApp.UITests.Microsoft_UI_Xaml_Controls.NumberBoxTests.NumberBoxTests.UpDownTest() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Microsoft_UI_Xaml_Controls/NumberBoxTests/Given_NumberBox.cs:line 33

Check failure on line 1 in SamplesApp.UITests.Windows_UI_Xaml_Controls.CommandBarTests.NativeCommandBar_Tests.When_TextBlock_Centred_Native_Frame

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Uno.UI - CI

SamplesApp.UITests.Windows_UI_Xaml_Controls.CommandBarTests.NativeCommandBar_Tests.When_TextBlock_Centred_Native_Frame

System.Exception : Error while performing WaitForElement(Marked("NavigateBackButton"), "Timed out waiting for element...", null, null, null)
  ----> System.TimeoutException : Timed out waiting for element...
Raw output
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)
   at Xamarin.UITest.Android.AndroidApp.WaitForElement(Func`2 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Xamarin.UITest.Android.AndroidApp.WaitForElement(String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Uno.UITest.Xamarin.XamarinApp.WaitForElement(String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at SamplesApp.UITests.Windows_UI_Xaml_Controls.CommandBarTests.NativeCommandBar_Tests.When_TextBlock_Centred_Native_Frame() in /agent/_work/1/s/src/SamplesApp/SamplesApp.UITests/Windows_UI_Xaml_Controls/CommandBarTests/UnoSamples_Tests.NativeCommandBar.cs:line 194
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
--TimeoutException
   at Xamarin.UITest.Shared.WaitForHelper.WaitForAny[T](Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout)
   at Xamarin.UITest.Android.AndroidApp.<>c__DisplayClass80_0.<WaitForElement>b__0()
   at Xamarin.UITest.Utils.ErrorReporting.With[T](Func`1 func, Object[] args, String memberName)