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

Prevent iOS CollectionView size shifts from clearing the cell size cache #18464

Merged
merged 2 commits into from
Nov 22, 2023

Try to exclude tests from macOS

a235bbc
Select commit
Failed to load commit list.
Merged

Prevent iOS CollectionView size shifts from clearing the cell size cache #18464

Try to exclude tests from macOS
a235bbc
Select commit
Failed to load commit list.
Azure Pipelines / MAUI-DeviceTests-public succeeded Nov 22, 2023 in 19m 0s

Build #8.0.0-ci.net8.26355+pr.18464-sha.62690a7752-azdo.102018 had test failures

Details

Tests

  • Failed: 6 (0.03%)
  • Passed: 18,205 (96.66%)
  • Other: 624 (3.31%)
  • Total: 18,835

Annotations

Check failure on line 609636 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L609636

PowerShell exited with code '1'.

Check failure on line 237 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L237

PowerShell exited with code '1'.

Check failure on line 469 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L469

PowerShell exited with code '1'.

Check failure on line 209 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L209

PowerShell exited with code '1'.

Check failure on line 1 in Frame Respects minimum height/width

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Frame Respects minimum height/width

System.Runtime.InteropServices.COMException : No installed components were detected. (0x800F1000)
Raw output
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
   at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
   at ABI.System.Collections.Generic.IVectorMethods`1.Clear(IObjectReference obj)
   at ABI.System.Collections.Generic.IListMethods`1.Clear(IObjectReference obj)
   at Microsoft.UI.Xaml.Controls.UIElementCollection.Clear()
   at Microsoft.Maui.DeviceTests.AssertionExtensions.AttachAndRun[T](FrameworkElement view, Func`2 action, IMauiContext mauiContext) in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.Windows.cs:line 222
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass9_0`2.<<AttachAndRun>g__Run|0>d.MoveNext() in D:\a\1\s\src\TestUtils\src\DeviceTests\AssertionExtensions.cs:line 147
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.FrameTests.LayoutFrame(Layout layout, Frame frame, Double widthConstraint, Double heightConstraint, Func`1 additionalTests) in D:\a\1\s\src\Controls\tests\DeviceTests\Elements\Frame\FrameTests.cs:line 435
   at Microsoft.Maui.DeviceTests.FrameTests.FrameRespectsMinimums() in D:\a\1\s\src\Controls\tests\DeviceTests\Elements\Frame\FrameTests.cs:line 192
--- End of stack trace from previous location ---

Check failure on line 1 in ShowsKeyboardOnFocus

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

ShowsKeyboardOnFocus

System.Exception : Make sure keyboard starts out closed\n---- Assert.True() Failure\nExpected: True\nActual:   False
Raw output
   at Microsoft.Maui.DeviceTests.AssertionExtensions.HideKeyboardForView(View view, Int32 timeout, String message)
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<>c__DisplayClass0_0.<<ShowsKeyboardOnFocus>b__0>d[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.SearchBar, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<>c__DisplayClass0_0.<<ShowsKeyboardOnFocus>b__0>d[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.SearchBar, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass20_0`1.<<AttachAndRun>b__0>d[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<<AttachAndRun>g__Run|21_0>d`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>d__21`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass69_0`2.<<AttachAndRun>g__Run|0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<ShowsKeyboardOnFocus>d__0[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.SearchBar, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Microsoft.Maui.DeviceTests.AssertionExtensions.HideKeyboardForView(View view, Int32 timeout, String message)

Check failure on line 1 in ShowsKeyboardOnFocus

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

ShowsKeyboardOnFocus

System.Exception : HideKeyboardForView after test has finished\n---- Assert.True() Failure\nExpected: True\nActual:   False
Raw output
   at Microsoft.Maui.DeviceTests.AssertionExtensions.HideKeyboardForView(View view, Int32 timeout, String message)
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<>c__DisplayClass0_0.<<ShowsKeyboardOnFocus>b__0>d[[Microsoft.Maui.Handlers.EditorHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Editor, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass20_0`1.<<AttachAndRun>b__0>d[[Microsoft.Maui.Handlers.EditorHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<<AttachAndRun>g__Run|21_0>d`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>d__21`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass69_0`2.<<AttachAndRun>g__Run|0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.Maui.Handlers.EditorHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<ShowsKeyboardOnFocus>d__0[[Microsoft.Maui.Handlers.EditorHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.Editor, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Microsoft.Maui.DeviceTests.AssertionExtensions.HideKeyboardForView(View view, Int32 timeout, String message)

Check failure on line 1 in ShowsKeyboardOnFocus

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

ShowsKeyboardOnFocus

System.Exception : WaitForKeyboardToShow failed after second focus\n---- Assert.True() Failure\nExpected: True\nActual:   False
Raw output
   at Microsoft.Maui.DeviceTests.AssertionExtensions.WaitForKeyboardToShow(View view, Int32 timeout, String message)
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<>c__DisplayClass0_0.<<ShowsKeyboardOnFocus>b__0>d[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.SearchBar, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<>c__DisplayClass0_0.<<ShowsKeyboardOnFocus>b__0>d[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.SearchBar, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.HandlerTestBasement.<>c__DisplayClass20_0`1.<<AttachAndRun>b__0>d[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<<AttachAndRun>g__Run|21_0>d`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<AttachAndRun>d__21`1[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at Microsoft.Maui.DeviceTests.AssertionExtensions.<>c__DisplayClass69_0`2.<<AttachAndRun>g__Run|0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d[[System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.TextInputFocusTests`2.<ShowsKeyboardOnFocus>d__0[[Microsoft.Maui.Handlers.SearchBarHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Controls.SearchBar, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at Microsoft.Maui.DeviceTests.AssertionExtensions.WaitForKeyboardToShow(View view, Int32 timeout, String message)