Interface ITreeViewNodeCollection
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a collection of ITreeViewNode.
public interface ITreeViewNodeCollection
Methods
FindNode(string)
Finds the node whose the displayed text is the specified text.
ITreeViewNode? FindNode(string displayedText)
Parameters
displayedText
stringDisplayed text of the node.
Returns
- ITreeViewNode
The found node or
null
when no node matching the text was found.
GetNode(string)
Gets the node whose the displayed text is the specified text.
ITreeViewNode GetNode(string displayedText)
Parameters
displayedText
stringDisplayed text of the node.
Returns
- ITreeViewNode
The node.
Exceptions
- InvalidOperationException
Thrown when no node matching the text was found.
GetNodes()
Gets all child nodes (first level only).
IEnumerable<ITreeViewNode> GetNodes()
Returns
- IEnumerable<ITreeViewNode>
A collection of child nodes.
HasNode(string)
Checks if the node whose the displayed text is the specified text exists.
bool HasNode(string displayedText)
Parameters
displayedText
stringDisplayed text of the node.
Returns
- bool
true
when node matching the text was found;false
otherwise.