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

33 lines (32 loc) 1.1 kB
import { ComponentWrapper, ElementWrapper } from "@awsui/test-utils-core/selectors"; import ButtonWrapper from '../button/index.js'; import ButtonDropdownWrapper from '../button-dropdown/index.js'; import FileInputWrapper from '../file-input/index.js'; import ToggleButtonWrapper from '../toggle-button/index.js'; export default class ButtonGroupWrapper extends ComponentWrapper { static rootSelector: string; /** * Finds all button and menu items. */ findItems(): import("@awsui/test-utils-core/selectors").MultiElementWrapper<ElementWrapper>; /** * Finds a button item by its id. */ findButtonById(id: string): ButtonWrapper; /** * Finds a toggle button item by its id. */ findToggleButtonById(id: string): ToggleButtonWrapper; /** * Finds a file input item by its id. */ findFileInputById(id: string): FileInputWrapper; /** * Finds a menu item by its id. */ findMenuById(id: string): ButtonDropdownWrapper; /** * Finds the currently opened tooltip. */ findTooltip(): ElementWrapper; }