Interface IFilterBuilderComponent
- Namespace
- GroupeIsa.Neos.EndToEndTests.UI.Components
- Assembly
- GroupeIsa.Neos.EndToEndTests.UI.dll
Provides the functionalities of the automation of a filter builder component.
[AbstractionComponent("filter-builder")]
public interface IFilterBuilderComponent : IAutomationComponent
- Inherited Members
Methods
AddCondition(string, FilterOperator)
Adds a condition.
void AddCondition(string propertyName, FilterOperator @operator)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
AddCondition(string, FilterOperator, string)
Adds a condition.
void AddCondition(string propertyName, FilterOperator @operator, string value)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
valuestringThe value.
AddCondition(string, FilterOperator, string, string)
Adds a condition.
void AddCondition(string propertyName, FilterOperator @operator, string value1, string value2)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
value1stringThe first value.
value2stringThe second value.
AddCondition(string, FilterOperator, string[])
Adds a condition.
void AddCondition(string propertyName, FilterOperator @operator, string[] value)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
valuestring[]The value.
Apply()
Clicks on the "Apply" button.
void Apply()
BackToSimpleFilter()
Clicks the "back to simple filter" button of the builder.
void BackToSimpleFilter()
GetCurrentFilterText()
Gets the current filter text.
string? GetCurrentFilterText()
Returns
RemoveCondition(string)
Removes a filter of the specified property.
void RemoveCondition(string propertyName)
Parameters
propertyNamestringThe property name.
SetParameterValue(string, string)
Sets the value of a parameter row (a parameter has a fixed operator and no remove button, so its value is set directly).
void SetParameterValue(string parameterName, string value)
Parameters
UpdateCondition(string, FilterOperator)
Updates a condition.
void UpdateCondition(string propertyName, FilterOperator @operator)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
UpdateCondition(string, FilterOperator, string)
Updates a condition.
void UpdateCondition(string propertyName, FilterOperator @operator, string value)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
valuestringThe value.
UpdateCondition(string, FilterOperator, string, string)
Updates a condition.
void UpdateCondition(string propertyName, FilterOperator @operator, string value1, string value2)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
value1stringThe first value.
value2stringThe second value.
UpdateCondition(string, FilterOperator, string[])
Updates a condition.
void UpdateCondition(string propertyName, FilterOperator @operator, string[] value)
Parameters
propertyNamestringThe property name.
operatorFilterOperatorThe operator.
valuestring[]The value.