Interface IconButtonHarnessFilters

A set of criteria that can be used to filter a list of button harness instances.

interface IconButtonHarnessFilters {
    ancestor?: string;
    disabled?: boolean;
    name?: string | RegExp;
    selector?: string;
    text?: string | RegExp;
    variant?: ButtonVariant;
}

Hierarchy

  • ButtonHarnessFilters
    • IconButtonHarnessFilters

Properties

ancestor?: string

Only find instances that are nested under an element with the given selector.

disabled?: boolean

Only find instances which match the given disabled state.

name?: string | RegExp

Only find instances which contain an icon with the given name.

selector?: string

Only find instances whose host element matches the given selector.

text?: string | RegExp

Only find instances whose text matches the given value.

variant?: ButtonVariant

Only find instances with a variant.