Skip to content

API Reference / @gtkx/testing / Suggestion

Type Alias: Suggestion

Suggestion = object

Defined in: suggestions.d.ts:7

A suggested query for reaching a widget, including its family, variant, method name, and a toString that renders the full call.

Properties

queryMethod

queryMethod: string

Defined in: suggestions.d.ts:10

The full query function name, such as getByRole.


queryName

queryName: Method

Defined in: suggestions.d.ts:8


toString

toString: () => string

Defined in: suggestions.d.ts:12

Returns

string


variant

variant: Variant

Defined in: suggestions.d.ts:11

Released under the MPL-2.0 License.