UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

32 lines 1.21 kB
import { ElementWrapper } from '@awsui/test-utils-core/dom'; import InputWrapper from '../input'; import DropdownHostComponentWrapper from '../internal/dropdown-host'; export default class SelectWrapper extends DropdownHostComponentWrapper { static rootSelector: string; /** * @param options * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag. */ findErrorRecoveryButton(options?: { expandToViewport: boolean; }): ElementWrapper | null; /** * @param options * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag. */ findStatusIndicator(options?: { expandToViewport: boolean; }): ElementWrapper | null; /** * Returns the input that is used for filtering. * @param options * * expandToViewport (boolean) - Use this when the component under test is rendered with an `expandToViewport` flag. */ findFilteringInput(options?: { expandToViewport: boolean; }): InputWrapper | null; findInlineLabel(): ElementWrapper | null; findPlaceholder(): ElementWrapper | null; findTrigger(): ElementWrapper; isDisabled(): boolean; }