@awsui/components-react
Version:
AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A
26 lines (25 loc) • 1.24 kB
TypeScript
import { ElementWrapper, ComponentWrapper } from '@awsui/test-utils-core/dom';
import InputWrapper from '../input';
import OptionWrapper from '../internal/option';
export declare class AutosuggestDropdownWrapper extends ComponentWrapper {
findOptions(): Array<OptionWrapper>;
findOption(optionIndex: number): OptionWrapper | null;
findOptionByValue(value: string): OptionWrapper | null;
findOptionInGroup(groupIndex: number, optionIndex: number): OptionWrapper | null;
findOptionsContainer(): ElementWrapper | null;
findFooterRegion(): ElementWrapper | null;
findOpenDropdown(): ElementWrapper | null;
findHighlightedOption(): OptionWrapper | null;
findDisabledOptions(): Array<OptionWrapper>;
findHighlightedMatches(): Array<ElementWrapper>;
findHighlightedAriaLiveRegion(): ElementWrapper | null;
}
export default class AutosuggestWrapper extends InputWrapper {
static rootSelector: string;
findDropdown(): AutosuggestDropdownWrapper;
findStatusIndicator(): ElementWrapper | null;
findErrorRecoveryButton(): ElementWrapper | null;
findEnteredTextOption(): ElementWrapper | null;
selectSuggestion(index: number): void;
selectSuggestionByValue(value: string): void;
}