@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
27 lines • 913 B
TypeScript
import { ComponentWrapper, ElementWrapper } from "@awsui/test-utils-core/selectors";
import { ButtonWrapper } from '../index.js';
export default class PopoverWrapper extends ComponentWrapper {
static rootSelector: string;
findTrigger(): ElementWrapper;
/**
* @param options
* * renderWithPortal (boolean) - Flag to find the header when the popover is rendered with a portal
*/
findHeader(options?: {
renderWithPortal: boolean;
}): ElementWrapper;
/**
* @param options
* * renderWithPortal (boolean) - Flag to find the content when the popover is rendered with a portal
*/
findContent(options?: {
renderWithPortal: boolean;
}): ElementWrapper;
/**
* @param options
* * renderWithPortal (boolean) - Flag to find the dismiss button when the popover is rendered with a portal
*/
findDismissButton(options?: {
renderWithPortal: boolean;
}): ButtonWrapper;
}