Skip to content

How to set testID on Checkbox #1964

@rollsroyc3

Description

@rollsroyc3

Explain what you did
I cannot assign the testID prop to the Checkbox component.

Expected behaviour
Checkbox to use the testID prop I give it so I can run tests and interact with checkbox.

Describe the bug
Get error when running test because it cant find testID.

Possible Solution
Assign testID prop to Component.

Im also curious if this an issue with just the Checkbox, or if there are other elements that dont pass testID prop for automated e2e testing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions