Repository navigation
test: Add regression test for #11914 - #23007
Conversation
There was a problem hiding this comment.
Pull request overview
Adds runtime regression coverage around Pivot initial selection/content materialization to help guard against regressions related to issue #11914 (“Pivot content is not set at once”).
Changes:
- Add a runtime test validating that, when
Pivot.ItemsSourceis set, the first item’s content is present immediately after initial load. - Add a runtime test validating the same behavior when
PivotItems are added inline viaPivot.Items.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23007/wasm-skia-net9/index.html |
|
|
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or it will be closed in 10 days. |
|
This PR was closed because it has been stalled for 10 days with no activity. |
|
Claude finished @MartinZikmund's task in 2m 59s —— View job Review complete
SummaryThe two new Findings: 3 issues (2 medium, 1 minor) Medium — test flakiness (same pattern in both tests, 4 comments total):
Minor — naming inconsistency (1 comment):
Cross-cutting note: The PR description correctly flags that the underlying bug (#11914) is Android-specific ( |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23007/wasm-skia-net9/index.html |
|
|
f72e1d1 to
15177f6
Compare
|
Claude finished @MartinZikmund's task in 1m 39s —— View job Review complete
SummaryThe two new Findings: 5 issues (4 medium, 1 minor) Medium — test flakiness (both tests, 4 inline comments):
Minor — naming inconsistency (1 inline comment):
Cross-cutting note: The PR description correctly flags that the underlying bug (#11914) is Android-specific ( |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23007/wasm-skia-net9/index.html |
Wait for the Pivot container and its ContentPresenter to materialize before asserting, and align the second test's name with the first. The content assertions themselves stay immediate: #11914 is about the content not being set at once on initial load. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01GKBgQoAmRmaFoXXZr93iLB
|
Claude finished @MartinZikmund's task in 3m 41s —— View job Review complete
SummaryThe hardening commit (
The intentional no-wait assertions on Findings: 1 minor One remaining flakiness risk: in Cross-cutting note (unchanged from prior reviews): The bug (#11914) is in the native Android path ( |
PR review follow-upPushed commit Fixed (1)
No change needed (0)Needs @MartinZikmund input (0)All changes were reviewed by inspection only — no local build/test was run (per rate/disk constraints). Azure Pipelines CI is the validation gate. |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23007/wasm-skia-net9/index.html |
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01GKBgQoAmRmaFoXXZr93iLB
|
Claude finished @MartinZikmund's task in 3m 50s —— View job Review complete
SummaryThe three hardening commits (
Findings: 1 minor The Cross-cutting note (unchanged): #11914 is in the native Android path ( |
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23007/wasm-skia-net9/index.html |
Summary
Adds regression test(s) for #11914.
The reported issue appears to be potentially fixed — the test(s) pass on current master (Skia target).
Test(s) added
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_Pivot.cs→When_Pivot_LoadedWithItemsSource_Then_FirstItemContentIsVisiblesrc/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_Pivot.cs→When_Pivot_LoadedWithInlineItems_Then_FirstItemContentVisibleNotes
The issue was reported on Android. Runtime tests run on Skia only — the fix should be verified on native Android targets as well. The bug was in the native Android path (
NativePivotPresenter+ViewPager/FragmentPagerAdapter), which is not exercised by the Skia runtime test runner.Relates to #11914