Skip to content

How do I set a data-test-id | data-* property? #599

@yancoltro

Description

@yancoltro

hello everybody
looking a little at the component documentation, I didn't find (at least at first) a way to define properties to select the components via the e2e test engine.
this can be easily bypassed with an id, or something like that
but is there a way to define a property specifically to facilitate/standardize selectors for the test engine?

If not, perhaps it could be interesting to provide the possibility for the user to configure a selector of this type (data* or data-*)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions