Interface IFramesContainerComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a container of tabs.
[AbstractionComponent("frames-container")]
public interface IFramesContainerComponent : IAutomationComponent, IContainerComponent
- Inherited Members
Methods
CloseAllTabs()
Close all opened tabs by clicking on the corresponding button.
void CloseAllTabs()
CloseOthersTabs()
Close all opened tabs except the current tab by clicking on the corresponding button.
void CloseOthersTabs()
FindCurrentFrame()
Finds the current displayed frame.
[Obsolete("FindCurrentFrame provides the current frame without waiting for the navigation action to be completed. Use WaitUntilNewFrameOpenedAsync or WaitForCurrentFrame instead.", false)]
IFrameTabComponent? FindCurrentFrame()
Returns
- IFrameTabComponent
The current frame or
nullwhen container contains no frames.
GetActions()
Gets the actions content part of frame container.
IContentComponent GetActions()
Returns
- IContentComponent
The actions part.
GetCurrentFrame()
Gets the current displayed frame.
[Obsolete("GetCurrentFrame provides the current frame without waiting for the navigation action to be completed. Use WaitUntilNewFrameOpenedAsync or WaitForCurrentFrame instead.", false)]
IFrameTabComponent GetCurrentFrame()
Returns
- IFrameTabComponent
The current frame when container contains no frames.
GetFrames()
Gets all the frames contained in the container.
IEnumerable<IFrameTabComponent> GetFrames()
Returns
- IEnumerable<IFrameTabComponent>
All the frames.
WaitForCurrentFrame(string?, int?)
Waits for the current frame with the expected title.
Task<IFrameTabComponent?> WaitForCurrentFrame(string? title, int? timeout = null)
Parameters
titlestringThe expected title of the current frame,
nullto wait for an untitled frame.timeoutint?Maximum waiting time in seconds.
Returns
- Task<IFrameTabComponent>
A Task representing the asynchronous operation.
WaitUntilNewFrameOpenedAsync(Action, int?)
Waits until a new frame is opened.
Task<IFrameTabComponent?> WaitUntilNewFrameOpenedAsync(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<IFrameTabComponent>
A Task representing the asynchronous operation.