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

Add testid into checkable icon, file version rows #779

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

lethemanh
Copy link
Collaborator

No description provided.

@lethemanh lethemanh self-assigned this Jan 15, 2025
}
>
<div className="grow text-ellipsis whitespace-nowrap overflow-hidden">
<Base>{version.file_metadata.name}</Base>
<Base className="testid:version-name">{version.file_metadata.name}</Base>
Copy link
Contributor

Choose a reason for hiding this comment

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

there's no need to repeat the parent name, finding this row would be easy with .version-row .name too

@@ -33,6 +33,7 @@ export function Select(props: InputProps) {
style={styles}
className={inputClassName + ' ' + props.className}
{..._.omit(props, 'label', 'className', 'size')}
data-value={props.value}
Copy link
Contributor

Choose a reason for hiding this comment

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

try and read this is as a user would, we should have as little as possible that is only needed by tests

@lethemanh lethemanh force-pushed the fix/add-more-test-id branch from 78ed76e to fd84082 Compare January 15, 2025 10:57
@lethemanh lethemanh changed the title Add test id for select input, fix test id name Add testid into checkable icon, file version rows Jan 15, 2025
@ericlinagora ericlinagora added this to the v1.0.6 milestone Jan 15, 2025
@lethemanh lethemanh merged commit c0dd24c into main Jan 15, 2025
7 checks passed
@ericlinagora ericlinagora deleted the fix/add-more-test-id branch January 15, 2025 15:35
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