Skip to content

API Reference / @gtkx/testing / getByPlaceholderText

Variable: getByPlaceholderText

const getByPlaceholderText: BuiltinQueries["getByPlaceholderText"]

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

Returns the single mapped widget with matching placeholder text. Widgets that are not mapped are never matched. Throws when none or more than one matches.

Released under the MPL-2.0 License.