Interface INestedTabsContainerComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a frame such as tab or popup.
public interface INestedTabsContainerComponent : IAutomationComponent, IContainerComponent
- Inherited Members
Methods
GetNestedTabs()
Waits for nested tabs creation and gets all the nested tabs contained in the frame.
IEnumerable<INestedTabComponent> GetNestedTabs()
Returns
- IEnumerable<INestedTabComponent>
All the frames.
Remarks
Nested tab are created after a navigation with target NavigationTarget.NestedFrame.
GetNestedTabsCount()
Gets the nested tabs count.
int GetNestedTabsCount()
Returns
- int
The count.
GetSelectedNestedTab()
Gets selected nested tab.
INestedTabComponent GetSelectedNestedTab()
Returns
- INestedTabComponent
The nested tab selected.
HasNestedTabs()
Checks if the frame has nested tabs at the current time.
bool HasNestedTabs()
Returns
- bool
trueif frame has nested tabs,falseotherwise.
WaitForCurrentNestedTab(string, int?)
Waits for the current frame with the expected title.
Task<INestedTabComponent?> WaitForCurrentNestedTab(string title, int? timeout = null)
Parameters
Returns
- Task<INestedTabComponent>
A Task representing the asynchronous operation.
WaitUntilNewNestedTabOpenedAsync(Action, int?)
Waits until a new frame is opened.
Task<INestedTabComponent?> WaitUntilNewNestedTabOpenedAsync(Action navigationAction, int? timeout = null)
Parameters
navigationActionActionAction that causes the opening of a frame(ex: navigation action).
timeoutint?Maximum waiting time in seconds.
Returns
- Task<INestedTabComponent>
A Task representing the asynchronous operation.