Table of Contents

Interface IFilterBarComponent

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

Provides the functionalities of the automation of a filter bar component.

[AbstractionComponent("filter-bar")]
public interface IFilterBarComponent : IFilterChipsComponent, IAutomationComponent
Inherited Members

Methods

AddNamedFilter(string)

Adds a named (predefined) filter by its identifier, via the "Add filter" dropdown.

void AddNamedFilter(string namedFilterId)

Parameters

namedFilterId string

The named filter identifier.

ClearInputValue(string)

Removes a filter by the input.

void ClearInputValue(string propertyName)

Parameters

propertyName string

The property name.

GetFilterableProperties()

Gets the properties displayed by an input filter in the filter bar.

string[] GetFilterableProperties()

Returns

string[]

The property names.

GetQuickSearch()

Gets the quick search component.

IQuickSearchComponent GetQuickSearch()

Returns

IQuickSearchComponent

The quick search component.

HasNamedFilterChip(string)

Gets whether a named (predefined) filter chip is currently displayed.

bool HasNamedFilterChip(string namedFilterId)

Parameters

namedFilterId string

The named filter identifier.

Returns

bool

True if the chip is displayed; otherwise, false.

OpenFilterBuilder()

Opens the filter builder.

IFilterBuilderComponent OpenFilterBuilder()

Returns

IFilterBuilderComponent

The filter builder component.

SetInputValue(string, FilterOperator)

Sets a filter by the input.

void SetInputValue(string propertyName, FilterOperator @operator)

Parameters

propertyName string

The property name.

operator FilterOperator

The operator.

Exceptions

AutomationException

Throws when the input is not found.

SetInputValue(string, FilterOperator, string)

Sets a filter by the input.

void SetInputValue(string propertyName, FilterOperator @operator, string value)

Parameters

propertyName string

The property name.

operator FilterOperator

The operator.

value string

The value.

Exceptions

AutomationException

Throws when the input is not found.

SetInputValue(string, FilterOperator, string, string)

Sets a filter by the input.

void SetInputValue(string propertyName, FilterOperator @operator, string value1, string value2)

Parameters

propertyName string

The property name.

operator FilterOperator

The operator.

value1 string

The first value.

value2 string

The second value.

SetInputValue(string, FilterOperator, string[])

Sets a filter by the input.

void SetInputValue(string propertyName, FilterOperator @operator, string[] value)

Parameters

propertyName string

The property name.

operator FilterOperator

The operator.

value string[]

The value.

SetInputValue(string, string)

Sets a filter by the input.

void SetInputValue(string propertyName, string value)

Parameters

propertyName string

The property name.

value string

The value.