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

update (docs): note working with cypress #44958

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

NhutMinhIT
Copy link

@NhutMinhIT NhutMinhIT commented Jan 7, 2025

@mui-bot
Copy link

mui-bot commented Jan 7, 2025

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 4946cc8

@zannager zannager added the docs Improvements or additions to the documentation label Jan 7, 2025
@zannager zannager requested a review from DiegoAndai January 7, 2025 14:04
@@ -205,6 +205,7 @@ If you use the ListSubheader directly, **no additional code is required**.
To properly label your `Select` input you need an extra element with an `id` that contains a label.
That `id` needs to match the `labelId` of the `Select`, for example:
- Note: When working with `cypress testing`, this element is rendered in a different location in the DOM (possibly a virtual dom), you can use `id` to identify the test element.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't feel right to me, data-testid should work for a simple Select interaction with cypress, see #44939 (comment) @NhutMinhIT

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants