Add testing identifier to elements
This commit is contained in:
@@ -191,7 +191,7 @@ export default class UploadZone extends React.Component<PropsType, StateType> {
|
||||
<div
|
||||
ref={node => node && (this.node = node)}
|
||||
style={this.props.style}
|
||||
className={classNames('upload_drop_zone', this.props.className)}
|
||||
className={classNames('upload_drop_zone', this.props.className, `testid:${this.props.testClassId}`)}
|
||||
onClick={() => {
|
||||
if (!this.props.disableClick) {
|
||||
this.open();
|
||||
|
||||
Reference in New Issue
Block a user