@nova-ui/bits
Version:
SolarWinds Nova Framework
33 lines (32 loc) • 1.31 kB
TypeScript
import { ElementArrayFinder, ElementFinder } from "protractor/built/element";
import { Atom } from "../../atom";
export declare class ChipsAtom extends Atom {
static CSS_CLASS: string;
static verticalClass: string;
static qtyLabelClass: string;
static itemClass: string;
static itemNameClass: string;
static itemRemoveIconClass: string;
static groupNameClass: string;
static clearAllLinkClass: string;
static chipsoverflowedClass: string;
private root;
private groups;
isVertical(): Promise<boolean>;
getChipElements: () => ElementArrayFinder;
getChipsCount: () => Promise<number>;
getChipElement: (index: number) => ElementFinder;
getChipName: (element: ElementFinder) => Promise<string>;
getChipsNames: () => Promise<string[]>;
getChipsGroupNames: () => Promise<string[]>;
getGroupsCount: () => Promise<number>;
getGroupName: (element: ElementFinder) => Promise<string>;
removeItem: (index: number) => Promise<void>;
getClearAllLinkElement: () => ElementFinder;
clearAll: () => Promise<void>;
isVisible: () => Promise<boolean>;
getChipsQuantityFromLabel(): Promise<number>;
click: () => Promise<void>;
getChipsOverflowElement: () => ElementFinder;
getChipsOverflowCounter: () => Promise<string>;
}