You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the feature request related to a problem? Please elaborate.
I'm a big fan of React Testing Library style queries where you can do things like getByLabelText("First Name") to ensure that an input is wired up to a label for a11y reasons. Right now I don't see easy equivalents with bUnit without getting into CSS selectors which can get a little gnarly (and might not take into account both labels and aria-labels for instance).
The suggested solution
I was curious if there was an appetite for adding some of these helper queries to bUnit and if so, if you'd be willing to take some PRs after some discussion.
The text was updated successfully, but these errors were encountered:
Is the feature request related to a problem? Please elaborate.
I'm a big fan of React Testing Library style queries where you can do things like
getByLabelText("First Name")
to ensure that an input is wired up to a label for a11y reasons. Right now I don't see easy equivalents with bUnit without getting into CSS selectors which can get a little gnarly (and might not take into account both labels and aria-labels for instance).The suggested solution
I was curious if there was an appetite for adding some of these helper queries to bUnit and if so, if you'd be willing to take some PRs after some discussion.
The text was updated successfully, but these errors were encountered: