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
namedFilterIdstringThe named filter identifier.
ClearInputValue(string)
Removes a filter by the input.
void ClearInputValue(string propertyName)
Parameters
propertyNamestringThe 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
namedFilterIdstringThe 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
propertyNamestringThe property name.
operatorFilterOperatorThe 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
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
valuestringThe 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
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
value1stringThe first value.
value2stringThe second value.
SetInputValue(string, FilterOperator, string[])
Sets a filter by the input.
void SetInputValue(string propertyName, FilterOperator @operator, string[] value)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
valuestring[]The value.
SetInputValue(string, string)
Sets a filter by the input.
void SetInputValue(string propertyName, string value)