UNPKG

@skyux/layout

Version:

This library was generated with [Nx](https://nx.dev).

34 lines (33 loc) 1.37 kB
import { HarnessPredicate } from '@angular/cdk/testing'; import { SkyComponentHarness } from '@skyux/core/testing'; import { SkyToolbarItemHarness } from './toolbar-item-harness'; import { SkyToolbarItemHarnessFilters } from './toolbar-item-harness-filters'; import { SkyToolbarSectionHarnessFilters } from './toolbar-section-harness-filters'; import { SkyToolbarViewActionsHarness } from './toolbar-view-actions-harness'; /** * Harness to interact with a toolbar section component in tests. */ export declare class SkyToolbarSectionHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyToolbarSectionHarness` that meets certain criteria. */ static with(filters: SkyToolbarSectionHarnessFilters): HarnessPredicate<SkyToolbarSectionHarness>; /** * Gets a harness for a specific toolbar item that meets certain criteria. */ getItem(filter: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness>; /** * Gets an array of all toolbar items. */ getItems(filters?: SkyToolbarItemHarnessFilters): Promise<SkyToolbarItemHarness[]>; /** * Gets the harness to interact with the toolbar's view actions. */ getViewActions(): Promise<SkyToolbarViewActionsHarness>; }