Is your feature request related to a problem? Please describe.
Testing if an input is correctly required with react-testing-library fails:
const id = within(edit).getByLabelText("Id *");
expect(id).toBeRequired();
Describe the solution you'd like
In addition to adding the * to the label, I'd expect the required attribute to be set.
Is your feature request related to a problem? Please describe.
Testing if an input is correctly required with react-testing-library fails:
Describe the solution you'd like
In addition to adding the
*to the label, I'd expect the required attribute to be set.