Feature Request: Add query utilities for text, placeholder, and label
Feature Request: Add query utilities for text, placeholder, and label: a task in LegoFlow-SWE (Harbor dataset). Currently, react-testing-library only provides getByTestId and queryByTestId for selecting elements from the rendered DOM. These methods rely on data-testid attributes, which don’t…
The task
Currently, `react-testing-library` only provides `getByTestId` and `queryByTestId` for selecting elements from the rendered DOM. These methods rely on `data-testid` attributes, which don’t reflect how real users interact with the application. Users should be able to locate elements by visible text content,…
Part of Lego-X/LegoFlow-SWE.