Interface IContainerComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of container whose content is a uiView.
public interface IContainerComponent
Methods
GetCurrentContent()
Gets the content of the current displayed frame.
Task<IContentComponent> GetCurrentContent()
Returns
- Task<IContentComponent>
The content of the current frame.
Remarks
If root content component is not a IContentComponent you should use GetRootContentComponent<TComponent>() method.
GetCurrentUIView()
Gets the UI view contained in the frame.
IUIViewComponent GetCurrentUIView()
Returns
- IUIViewComponent
The uiview.
GetCurrentUIViewName()
Gets the current uiview name displayed by the container.
string GetCurrentUIViewName()
Returns
- string
The current uiview name.
GetRootContentComponent<TComponent>()
Gets the root component of the content.
Task<TComponent> GetRootContentComponent<TComponent>() where TComponent : IAutomationComponent
Returns
- Task<TComponent>
The root component.
Type Parameters
TComponentThe type of the root component.
WaitUntilContentLoaded(bool)
Waits until the content of the frame is loaded and initialized data to be loaded when the parameter 'waitForInitializedDataToBeLoaded' is set to true.
void WaitUntilContentLoaded(bool waitForInitializedDataToBeLoaded = true)
Parameters
waitForInitializedDataToBeLoadedboolA value indicating whether to wait for initialized data to be loaded.