Skip to content

API Reference / @gtkx/testing / findByDisplayValue

Variable: findByDisplayValue

const findByDisplayValue: BuiltinQueries["findByDisplayValue"]

Defined in: packages/testing/dist/queries.d.ts:162

Waits for and returns the single mapped widget with a matching display value, retrying until it appears or the timeout elapses. Widgets that are not mapped are never matched. Rejects when none or more than one matches.

Released under the MPL-2.0 License.