Interface IModalComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of a modal component for automation.
[AbstractionComponent("modal")]
public interface IModalComponent : IAutomationComponent
- Inherited Members
Properties
CanClose
Gets a value indicating whether the modal can be close.
bool CanClose { get; }
Property Value
Methods
Close(bool)
Closes the modal and waits for the modal to be closed.
bool Close(bool waitUntilClosed = true)
Parameters
waitUntilClosed
boolA value indicating whether to wait until the modal is closed.
Returns
- bool
A value indicating whether the modal is closed.
GetBody()
Gets the body content.
Task<IContentComponent> GetBody()
Returns
- Task<IContentComponent>
The body content.
Exceptions
- AutomationException
throw when no body was found.
GetCurrentFrameAsync()
Gets the current frame component when the popup contains a UI view.
Task<IFrameComponent> GetCurrentFrameAsync()
Returns
- Task<IFrameComponent>
The frame component.
Exceptions
- AutomationException
throw when no body was found.
GetFooter()
Gets the footer content.
Task<IContentComponent?> GetFooter()
Returns
- Task<IContentComponent>
The footer content.
Exceptions
- AutomationException
throw when no body was found.
GetHeader()
Gets the header content.
Task<IContentComponent?> GetHeader()
Returns
- Task<IContentComponent>
The header content.
Exceptions
- AutomationException
throw when no body was found.