Add testing identifier to elements

This commit is contained in:
lethemanh
2024-12-09 21:14:46 +07:00
parent df5c472d7b
commit 217e683269
43 changed files with 201 additions and 102 deletions
@@ -76,7 +76,7 @@ export default class Input extends Component {
}
this.onKeyDown(evt);
}}
className={'input ' + (className || '')}
className={'input ' + (className || '') + ` testid:${this.props.testClassId}`}
onBlur={this.props.onBlur}
onChange={this.props.onChange}
/>