Table of Contents

Interface IButtonComponent

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

Provides the functionalities of a button component for automation.

[AbstractionComponent("button")]
public interface IButtonComponent : IContentComponent, IAutomationComponent, IFocusableComponent, IActivableComponent
Inherited Members
Extension Methods

Properties

ActionName

Gets the action name of the button.

string? ActionName { get; }

Property Value

string

BadgeValue

Gets the value of the badge or null if there is no badge.

string? BadgeValue { get; }

Property Value

string

Name

Gets the displayed name of the button.

string? Name { get; }

Property Value

string

Methods

GetActionByName(string)

Gets the action button component of the action button by the action name.

IButtonComponent? GetActionByName(string name)

Parameters

name string

the name of the button.

Returns

IButtonComponent

the button if found, otherwise null.

GetActions()

Gets the action button components of the action button.

IButtonComponent[] GetActions()

Returns

IButtonComponent[]

The action button components.

RawClick()

Performs a raw click on the button's underlying element, without the focus-then-blur sequence Click() performs first (moving focus away from the current element and blurring it, to force pending v-model bindings elsewhere on the page to commit). Use this when that blur would have side effects on the button's own context, e.g. ending an active datagrid cell edit and detaching the button before the click lands.

bool RawClick()

Returns

bool

A value indicating whether the click action has been performed.

WaitUntilLoaded()

Waits until the button has finished to load.

void WaitUntilLoaded()

Exceptions

AutomationException

Throws when the data does not loaded within the time limit.