Describe the Feature
Currently we have getByPlaceholder (and related queries). However, both RTL and deprecated TL/RN use getByPlaceholderText.
This seems to be consistent with other RTL, TL/RN names likes getByLabelText, getByHintText, etc.
Possible Implementations
- Rename
getByPlaceholder -> getByPlaceholderText
- Add alias for
getByPlaceholderText
Selected option should be mentioned in the migration guide.
My preferred option would be 1 (rename), as it would keep things simple & consitent.
Related Issues
This is part of migration to official TL repo.
CC: @thymikee @Esemesek @cross19xx