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

35 lines (34 loc) 1.62 kB
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom'; import ButtonWrapper from '../button'; import ButtonDropdownWrapper from '../button-dropdown'; import LinkWrapper from '../link'; export default class TopNavigationWrapper extends ComponentWrapper { static rootSelector: string; findIdentityLink(): ElementWrapper; findLogo(): ElementWrapper | null; findTitle(): ElementWrapper | null; findSearch(): ElementWrapper | null; findUtilities(): Array<TopNavigationUtilityWrapper>; findUtility(index: number): TopNavigationUtilityWrapper | null; findSearchButton(): ElementWrapper | null; findOverflowMenuButton(): ButtonWrapper | null; findOverflowMenu(): OverflowMenu | null; } export declare class OverflowMenu extends ComponentWrapper { findDismissButton(): ElementWrapper<HTMLButtonElement> | null; findBackButton(): ElementWrapper<HTMLButtonElement> | null; findTitle(): ElementWrapper | null; findDescription(): ElementWrapper | null; findUtility(index: number): ElementWrapper | null; findMenuDropdownItemById(id: string): ElementWrapper | null; } export declare class TopNavigationUtilityWrapper extends ComponentWrapper { findButtonLinkType(): LinkWrapper | null; findPrimaryButtonType(): ButtonWrapper | null; findMenuDropdownType(): TopNavigationMenuDropdownWrapper | null; } export declare class TopNavigationMenuDropdownWrapper extends ButtonDropdownWrapper { findNativeButton(): ElementWrapper<HTMLButtonElement>; findTitle(): ElementWrapper | null; findDescription(): ElementWrapper | null; }