Repository navigation
Open
Labels
area/tests 🧪Categorizes an issue or PR as relevant to testsdifficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingepickind/enhancementNew feature or requestlow-hanging-🍒Categorizes an issue that might be a quick win with meaningful positive impact.no-reproproject/items 🧾Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)
Description
What would you like to be added:
Re-enable ignored ItemsRepeater tests
Why is this needed:
Improve stability of the control.
For which Platform:
All
Tests that require further work
-
ViewportTests.ValidateNoScrollingSurfaceScenario- this test is currently adjusted with Uno-specific changes, but it does properly pass on UWP (even within our Samples app. The problem is that on UWP, the measuring phase occurs twice while in our case only once. -
ViewportTests- some tests are commented out because of the missing support forScrollViewandScrollPresenterfrom WinUI -
ItemTemplateTests- all tests are adjusted toWatForIdleafterContent.UpdateLayout()- this is currently needed asEffectiveViewportupdate does not occur synchronously duringUpdateLayout()call, but only after, which means items would not otherwise be realized yet. -
ItemTemplateTests.VerifyNullTemplateGivesMeaningfullError- exception thrown duringUpdateLayoutdoes not bubble up - as it gets masked by Uno as recoverable exception. -
InspectingDataSourceTests.ValidateSwitchingItemsSourceRefreshesElementsVirtualLayouthas additional waiting added, as the test did not pass in its original form on Android (the layout did not happen synchronously during the firstUpdateLayoutcall). -
InspectingDataSourceTests.VerifyCallingResetMultipleTimesOnUniqueIdItemsSourcehas additional waiting added, as the test did not pass in its original form on iOS (the layout did not happen synchronously during theUpdateLayoutcall). -
RepeaterFocusTests.ValidateTabNavigationrequired additional waits to make sure items are rendered (see required changes here 956d79e) -
ValidateMappingAndAutoRecyclingin LayoutTests -
VerifyStackLayoutAlignmentitemsRepeaterOriginPoint.X is returning 0 at all times with Uno targets
Metadata
Metadata
Assignees
Labels
area/tests 🧪Categorizes an issue or PR as relevant to testsdifficulty/challenging 🤯Categorizes an issue for which the difficulty level is reachable with internals understandingepickind/enhancementNew feature or requestlow-hanging-🍒Categorizes an issue that might be a quick win with meaningful positive impact.no-reproproject/items 🧾Categorizes an issue or PR as relevant to items (ItemsControl, ItemsRepeater, ...)
Activity
Youssef1313 commentedon Mar 12, 2024
ValidateNoScrollingSurfaceScenariowill be fixed in lifecycle PR fix: Align Loading/Loaded events with WinUI #14936 (Skia/Wasm)ItemTemplateTestsmay be fixed in lifecycle, but not yet validated. At least, lifecycle will have to be the first step for it.VerifyNullTemplateGivesMeaningfullErroris actually passing (at least on Skia)MartinZikmund commentedon Apr 8, 2026
Repro generator
This issue was classified as not reproducible with a code sample or test.
Reason: Enhancement to enable more ItemsRepeater tests.