Add testing identifier to elements
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user