Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Can you add an id prop to components that will be applied to the parent div to help with testing? #276

HEdmeades started this conversation in General
Discussion options

This would help immensely with testing using playwright and other similar testing libraries.

e.g.
<CSidebar id="c-sidebar-main" />.

then this will propagate to the parent <div /> of the component.

Thanks :)

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.