Skip to content
Prev Previous commit
Next Next commit
added description for test
  • Loading branch information
corvinsz committed May 15, 2025
commit b71860e9526bd9c40e7204749ac16210c9753cde
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections;
using System.ComponentModel;
using System.Windows.Media;

namespace MaterialDesignThemes.UITests.WPF.TreeListViews;
Expand Down Expand Up @@ -1069,6 +1070,7 @@ static void AssertSelectedItems(TreeListView treeListView)
}

[Fact]
[Description($"When collapsing a parent node all child nodes are visually removed (due to its impl.) from the ListView. A selected child nodes should stay in the {nameof(TreeListView.SelectedItems)} DP even when collapsing its parent.")]
public async Task TreeListView_CollapsingParentOfSelectedChild_DoesNotRemoveChildFromSelectedItems()
{
await using var recorder = new TestRecorder(App);
Expand Down