Table of Contents

Interface IMoreButtonComponent

Namespace
GroupeIsa.Neos.EndToEndTests.UI.Components
Assembly
GroupeIsa.Neos.EndToEndTests.UI.dll

Provides the functionalities of a ActionList button component for automation.

public interface IMoreButtonComponent : IButtonComponent, IContentComponent, IAutomationComponent, IFocusableComponent, IActivableComponent
Inherited Members
Extension Methods

Methods

GetAddButton()

Gets the add button component of the toolbar. If the dropdown is not open, a click is sent to open it to display the dropdown.

IButtonComponent? GetAddButton()

Returns

IButtonComponent

The add button if found otherwise null.

GetCloneButton()

Gets the clone button component of the toolbar. If the dropdown is not open, a click is sent to open it to display the dropdown.

IButtonComponent? GetCloneButton()

Returns

IButtonComponent

The clone button if found otherwise null.

GetRemoveButton()

Gets the remove button component of the toolbar. If the dropdown is not open, a click is sent to open it to display the dropdown.

IButtonComponent? GetRemoveButton()

Returns

IButtonComponent

The remove button if found otherwise null.

GetReturnOriginalViewButton()

Gets the return original view button component of the toolbar. If the dropdown is not open, a click is sent to open it to display the dropdown.

IButtonComponent? GetReturnOriginalViewButton()

Returns

IButtonComponent

The remove button if found otherwise null.

WaitUntilActionVisible(string, bool)

Waits until the given more-menu action reaches the expected visibility.

The menu is opened at most once up-front; the polling loop then only OBSERVES the menu and never re-clicks the "..." button. This avoids the flaky "observer effect" where polling a dropdown-opening getter (e.g. GetReturnOriginalViewButton()) inside a wait re-toggles the menu on every iteration and keeps catching it mid-transition (bug 35354).

bool WaitUntilActionVisible(string actionName, bool expectedVisible = true)

Parameters

actionName string

The data-action-name of the menu action (e.g. "RestoreOriginalView").

expectedVisible bool

The visibility state to wait for; true to wait until the action is visible, false until it is gone.

Returns

bool

true if the expected visibility was reached before the timeout, false otherwise.