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

impove component with data-test-id #874

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

dzonidoo
Copy link
Collaborator

@tomaskikutis
Copy link
Member

Add default data-test-id values like data-test-id="sidebar-tabs", data-test-id="subnav". In most cases, we will not need to pass custom ones.

@dzonidoo dzonidoo requested a review from tomaskikutis August 13, 2024 10:31
className={classes2}
style={style}
data-theme={this.props.theme ? `${this.props.theme}-ui` : null}
data-test-id={this.props['data-test-id']}
Copy link
Member

Choose a reason for hiding this comment

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

add a default here too

@dzonidoo dzonidoo requested a review from tomaskikutis August 13, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants