Skip to content

CheckBox components doesn't have testID prop available #1906

Closed
@arnoldpaye

Description

react-native, react and native-base version

  • react-native: 2.4.5
  • react: 16.3.2
  • react-native: 0.55.2

Expected behaviour

CheckBox component having available testID prop

Actual behaviour

CheckBox component doesn't have testID prop

Steps to reproduce (code snippet or screenshot)

I want to use testID prop but it is not available:

screen shot 2018-05-18 at 11 33 20 am

In the other hand , Radio component has it:

screen shot 2018-05-18 at 11 32 54 am

I expected that CheckBox component has this prop as Radio.

Screenshot of emulator/device

n/a

Is the bug present in both ios and android or in any one of them?

Yes

Any other additional info which would help us debug the issue quicker.

Internally both components (CheckBox and Radio) use TouchableOpacity propTypes, which has testID prop, but as it is mentioned in #901 , the CheckBox interface is not extending from ReactNative.TouchableOpacityProperties type.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions