Skip to content

[iOS] Fix ArgumentOutOfRangeException in ObservableGroupedSource when removing a group from grouped CollectionView#34692

Closed
baaaaif wants to merge 6 commits into
dotnet:mainfrom
baaaaif:fix/observable-grouped-source-remove-crash
Closed

[iOS] Fix ArgumentOutOfRangeException in ObservableGroupedSource when removing a group from grouped CollectionView#34692
baaaaif wants to merge 6 commits into
dotnet:mainfrom
baaaaif:fix/observable-grouped-source-remove-crash

Fix test build: use Controller.CollectionView for NumberOfSections

1f00297
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed May 13, 2026 in 3h 43m 6s

Build #10.0.70-ci+pr.34692.azdo.1417671 had test failures

Details

Tests

  • Failed: 21 (0.12%)
  • Passed: 17,732 (98.76%)
  • Other: 201 (1.12%)
  • Total: 17,954

Annotations

Check failure on line 787 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L787

PowerShell exited with code '1'.

Check failure on line 984 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L984

PowerShell exited with code '1'.

Check failure on line 1045 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L1045

PowerShell exited with code '1'.

Check failure on line 763 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Build log #L763

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue32223(Android).CanReorderWithItemDataTemplateSelector

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.Issues.Issue32223(Android).CanReorderWithItemDataTemplateSelector

  Assert.That(expectedText, Is.EqualTo("Success"))
  Expected string length 7 but was 0. Strings differ at index 0.
  Expected: "Success"
  But was:  <string.Empty>
  -----------^
Raw output
   at Microsoft.Maui.TestCases.Tests.Issues.Issue32223.CanReorderWithItemDataTemplateSelector() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32223.cs:line 22
   at InvokeStub_Issue32223.CanReorderWithItemDataTemplateSelector(Object, Object, IntPtr*)

1)    at Microsoft.Maui.TestCases.Tests.Issues.Issue32223.CanReorderWithItemDataTemplateSelector() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue32223.cs:line 22
   at InvokeStub_Issue32223.CanReorderWithItemDataTemplateSelector(Object, Object, IntPtr*)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue31731(Mac).PickerDialogDoesNotCrashWhenPagePoppedWhileDialogOpen

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.Issues.Issue31731(Mac).PickerDialogDoesNotCrashWhenPagePoppedWhileDialogOpen

System.TimeoutException : Timed out waiting for element...
Raw output
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
   at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 795
   at Microsoft.Maui.TestCases.Tests.Issues.Issue31731.PickerDialogDoesNotCrashWhenPagePoppedWhileDialogOpen() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue31731.cs:line 40
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.WebViewFeatureTests(Mac).WebView_TestEvaluateJavaScriptAsync_VerifyJavaScriptExecutionWithMultiplePages

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.WebViewFeatureTests(Mac).WebView_TestEvaluateJavaScriptAsync_VerifyJavaScriptExecutionWithMultiplePages

System.TimeoutException : Timed out waiting for element...
Raw output
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
   at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 795
   at Microsoft.Maui.TestCases.Tests.WebViewFeatureTests.WebView_TestEvaluateJavaScriptAsync_VerifyJavaScriptExecutionWithMultiplePages() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/WebViewFeatureTests.cs:line 276
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.WebViewFeatureTests(Mac).WebView_TestCookieManagement_VerifyAddCookieAndEvaluateJavaScript

See this annotation in the file changed.

@azure-pipelines azure-pipelines / maui-pr-uitests

Microsoft.Maui.TestCases.Tests.WebViewFeatureTests(Mac).WebView_TestCookieManagement_VerifyAddCookieAndEvaluateJavaScript

System.TimeoutException : Timed out waiting for element...
Raw output
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2757
   at UITest.Appium.HelperExtensions.WaitForElement(IApp app, String marked, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency, Nullable`1 postTimeout) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 795
   at Microsoft.Maui.TestCases.Tests.WebViewFeatureTests.WebView_TestCookieManagement_VerifyAddCookieAndEvaluateJavaScript() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/WebViewFeatureTests.cs:line 188
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.RuntimeMethodHandle.InvokeMethod(ObjectHandleOnStack target, Void** arguments, ObjectHandleOnStack sig, BOOL isConstructor, ObjectHandleOnStack result)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)