GeekyAnts / GeekyAnts/NativeBase
Select component applies the testID to the input, not the select.
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
I would expect when providing a testID to Select, the HTML element would receive this testID, not an underlying
### CodeSandbox/Snack link
https://snack.expo.dev/@justinwarner/select-test-id-on-wrong-element-in-native-base
### Steps to reproduce
Look at the source code and notice that the test id `repro-test-id` is on an `` and not a ``. This is unfortunate because some test libs (ie: playwright) has support for `` directly.
### NativeBase Version
^3.4.17
### Platform
- [ ] Android
- [ ] CRA
- [ ] Expo
- [ ] iOS
- [ ] Next
### Other Platform
web
### Additional Information
Relates to a closed issue- https://github.com/GeekyAnts/NativeBase/issues/4537
Contributor guide
Assessment
This issue has not been assessed yet.