Skip to content

API Reference / @gtkx/testing / findByPlaceholderText

Variable: findByPlaceholderText

const findByPlaceholderText: BuiltinQueries["findByPlaceholderText"]

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

Waits for and returns the single mapped widget with matching placeholder text, 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.