Skip to content

[CV2][iOS] Fix MeasureFirstItem measuring non-first cells - #36159

Merged
kubaflo merged 2 commits into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-35859
Jun 28, 2026
Merged

kubaflo merged 2 commits into
dotnet:inflight/currentfrom
devanathan-vaithiyanathan:fix-35859

Test case added

c282818
Select commit
Loading
Failed to load commit list.
Azure Pipelines / maui-pr-uitests failed Jun 26, 2026 in 4h 23m 6s

Build #10.0.90-ci+pr.36159.azdo.1483273 had test failures

Details

Tests

  • Failed: 24 (0.14%)
  • Passed: 16,607 (98.70%)
  • Other: 195 (1.16%)
  • Total: 16,826

Annotations

Check failure on line 1619 in Build log

See this annotation in the file changed.

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

Build log #L1619

PowerShell exited with code '1'.

Check failure on line 879 in Build log

See this annotation in the file changed.

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

Build log #L879

PowerShell exited with code '1'.

Check failure on line 1754 in Build log

See this annotation in the file changed.

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

Build log #L1754

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue12134(iOS).CookiesCorrectlyLoadWithMultipleWebViews

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue12134(iOS).CookiesCorrectlyLoadWithMultipleWebViews

The app was expected to be running still, investigate as possible crash
TearDown : The app was expected to be running still, investigate as possible crash
Raw output
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45

--TearDown
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45

1)    at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 159
   at UITest.Appium.NUnit.UITestBase.TestTearDown() in /_/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 45

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue11677(Android).VerifySearchBarBackground

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue11677(Android).VerifySearchBarBackground

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.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /_/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 2784
   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 793
   at Microsoft.Maui.TestCases.Tests.Issues.Issue11677.VerifySearchBarBackground() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue11677.cs:line 18
   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.Issues.Issue35859(Android).CollectionView2ShouldNotMeasureNonFirstItemsWithCachedFirstItemHeight

See this annotation in the file changed.

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

Microsoft.Maui.TestCases.Tests.Issues.Issue35859(Android).CollectionView2ShouldNotMeasureNonFirstItemsWithCachedFirstItemHeight

  Assert.That(summary, Does.Contain("Items2 CV2: 0 cached-height non-first"))
  Expected: String containing "Items2 CV2: 0 cached-height non-first"
  But was:  "Items2 CV2: 27 cached-height non-first"
Raw output
   at Microsoft.Maui.TestCases.Tests.Issues.Issue35859.CollectionView2ShouldNotMeasureNonFirstItemsWithCachedFirstItemHeight() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35859.cs:line 28

1)    at Microsoft.Maui.TestCases.Tests.Issues.Issue35859.CollectionView2ShouldNotMeasureNonFirstItemsWithCachedFirstItemHeight() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue35859.cs:line 28

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

See this annotation in the file changed.

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

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

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_SetIsVisibleFalse_VerifyWebViewHidden() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/FeatureMatrix/WebViewFeatureTests.cs:line 290
   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)