getByLabel(Text) method
angrykoala opened this issue · comments
angrykoala commented
This method returns the element associated to a label with given text (useful for forms)
Similar to:
https://testing-library.com/docs/dom-testing-library/api-queries#bylabeltext