Repository navigation
test(automation): Cover SelectorItemAutomationPeer selection - #26230
Conversation
|
Claude finished @morning4coffe-dev's task in 12s —— View job Review summaryVerdict: ship. I found no issues, so I posted no inline comments (0 blocker, 0 major, 0 minor).
I only read the diff and did not build or run anything. |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
Claude finished @morning4coffe-dev's task in 11s —— View job Review summaryVerdict: ship. I posted no inline comments (0 blocker, 0 major, 0 minor).
I only read the diff. I did not build or run anything. |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 244692 found UI Test snapshots differences: Details
|
dba9258 to
71eebf5
Compare
|
Claude finished @morning4coffe-dev's task in 10s —— View job Review summaryVerdict: ship. No inline comments (0 blocker, 0 major, 0 minor).
I only read the diff. I did not build or run anything. |
|
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: |
|
The build 244945 found UI Test snapshots differences: Details
|
GitHub Issue: closes #24628
PR Type:
🐞 Bugfix
What changed? 🚀
The bug from #24628 is already fixed on master. #23935 replaced the
is ISelectorchecks inSelectorItemAutomationPeerwithis Selector, which matches WinUI'sSelectorItemAutomationPeer_Partial.cpp(WinUI'sSelectoris the onlyISelectorimplementer). Nothing covered it though, so this PR only adds regression tests to make sure it stays fixed:When_Item_Peer_Select_Then_Selector_Selects_ItemforListView,GridView,ListBoxandComboBox:Select()on an item peer selects the item andIsSelectedfollows.When_Item_Peer_AddToSelection_And_RemoveFromSelection_Then_Multiple_Selection_Changes: add and remove on a multi-selectionListView.To check the tests catch the original bug, I temporarily restored the
ISelectorcheck: they all failed with "Operation cannot be performed.", the exact error from the issue. They pass on master, on Skia Desktop (5 runs) and WASM.PR Checklist ✅
Screenshots Compare Test Runresults.🤖 Generated with Claude Code