-
Notifications
You must be signed in to change notification settings - Fork 705
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
Fix TreeView root node ItemsSource syncing #865
Conversation
@@ -2578,6 +2578,38 @@ public void TreeViewNodeInMarkupTest() | |||
} | |||
} | |||
|
|||
[TestMethod] | |||
[TestProperty("TestSuite", "B")] | |||
public void TreeViewRootNodeBindingTest() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RBrid there are some async updates when ItemsSource changes, I feel it's easier to do it in interaction test compare to API test (especially with all your helper functions in place to repro the issue 😊).
🎉 Handy links: |
Fixes #631
TreeView root node and the rest of other nodes use separate logics to handle ItemsSource&TreeViewNode syncing, which shouldn't be necessary, since root node is no different from other TreeViewNodes. Deleted the duplicated code and let TreeViewNode handle the syncing.