UNPKG

@skyux/indicators

Version:

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

35 lines (34 loc) 1.07 kB
import { HarnessPredicate } from '@angular/cdk/testing'; import { SkyComponentHarness } from '@skyux/core/testing'; import { SkyWaitHarnessFilters } from './wait-harness-filters'; /** * Harness for interacting with a wait component in tests. */ export declare class SkyWaitHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyWaitHarness` that meets certain criteria. */ static with(filters: SkyWaitHarnessFilters): HarnessPredicate<SkyWaitHarness>; /** * Gets the ARIA label for the wait component or throws an error if not waiting. */ getAriaLabel(): Promise<string>; /** * Gets the waiting state of the wait component. */ isWaiting(): Promise<boolean>; /** * Gets the full page state of the wait component. */ isFullPage(): Promise<boolean>; /** * Gets the blocking state of the wait component. */ isNonBlocking(): Promise<boolean>; }