Skip to content

Add FindBy* queries #296

Closed
Closed
@mdjastrzebski

Description

@mdjastrzebski

Describe the Feature

The original React Testing Library uses findBy* queries for async element queries (docs). Essentially it combines getBy* query with waitFor, providing a cleaner shorter syntax for async queries.

Using findBy* queries is mentioned as high importance pattern by @kcdodds in this article.

Possible Implementations

Implemented probably as a combined getBy* and waitForElement.

Related Issues

Not known.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions