Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass thru data-testid for automated testing (cypress/playwright/...) #11710

Closed
gerwinbrunner opened this issue Mar 11, 2024 · 1 comment
Closed

Comments

@gerwinbrunner
Copy link

Summary

it would be great if all data-... props to a component would be passed thru.

It works for Box, but does not for i.e. Page component.

This is a repost of:
#3056

Rationale

To do automated testing with i.e. cypress you would need in some cases to set the data-testid prop on specific elements.

This is not possible to do with just the id prop (multiple elements of the same kind)
or with plain xpath expressions.

Copy link
Contributor

github-actions bot commented Sep 8, 2024

Hi! We noticed there hasn’t been activity on this issue in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant