Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make test mor resilient by only caring about IsExpanded on items with…
… children.
  • Loading branch information
Keboo committed Oct 3, 2025
commit 8c8bc88e2aeaab2348b2c1547ad66e3121c8064f
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,10 @@ await Wait.For(async () =>
{
IVisualElement<TreeListViewItem> treeItem = await treeListView.GetElement<TreeListViewItem>($"/TreeListViewItem[{index}]");
await Assert.That(await treeItem.GetContentText()).IsEqualTo(content);
await Assert.That(await treeItem.GetIsExpanded()).IsEqualTo(isExpanded);
if (await treeItem.GetHasItems())
{
await Assert.That(await treeItem.GetIsExpanded()).IsEqualTo(isExpanded);
}
});
}

Expand Down
Loading