GeekyAnts / GeekyAnts/NativeBase

Select component applies the testID to the input, not the select.

Open
#5,613 2 comments 0 reactions 0 assignees View on GitHub
bug triage v3
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.