@progress/kendo-e2e
Version:
Kendo UI end-to-end test utilities.
35 lines (34 loc) • 1.57 kB
TypeScript
import { Browser, By, WebElement } from "../selenium";
import { UIComponent } from './ui-component';
export declare class FilterLogic {
static readonly And = "And";
static readonly Or = "Or";
}
export declare class FilterOperator {
static readonly EqualTo = "Is equal to";
static readonly NotEqualTo = "Is not equal to";
static readonly GreaterThanOrEqualTo = "Is greater than or equal to";
static readonly GreaterThan = "Is greater than";
static readonly LessThan = "Is less than";
static readonly LessThanOrEqualTo = "Is less than or equal to";
static readonly Contains = "Contains";
static readonly DoesNotContain = "Does not contain";
static readonly StartsWith = "Starts with";
static readonly EndWith = "Ends with";
static readonly IsNull = "Is null";
static readonly IsNotNull = "Is not null";
static readonly IsEmpty = "Is empty";
static readonly IsNotEmpty = "Is not empty";
static readonly HasValue = "Has value";
static readonly HasNoValue = "Has no value";
}
export declare class FilterMenu extends UIComponent {
protected parentElement?: WebElement | By | string;
constructor(browser: Browser, locator: By | string, parentElement?: WebElement | By | string);
setFirstFilter(dropDownItem: string, value?: string): Promise<void>;
setOperator(operator: string): Promise<void>;
setSecondFilter(dropDownItem: string, value: string): Promise<void>;
setBoolFilter(value?: boolean): Promise<void>;
applyFilter(): Promise<void>;
clearFilter(): Promise<void>;
}