Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Rename testID to be consistent to react-testing-library #28

@Pipo93

Description

@Pipo93

Renaming of testID

In react-testing-library the testID property is named data-testid. For consistency reasons, in my opinion the property should be renamed to data-testid. Are there any reasons why it could not be renamed?

Suggested Solution

Old:
<Text testID="printed-username">{name}</Text>

New:
<Text data-testid="printed-username">{name}</Text>

Metadata

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