diff options
author | Corey Hulen <corey@hulen.com> | 2017-03-16 12:00:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-16 12:00:52 -0700 |
commit | b7a128ec1cbb643f71e6c877defda6e8b6ab80b3 (patch) | |
tree | 51d92308c47d1292b7ca162c0343f52f7e3b6cf7 /webapp/components/setting_item_max.jsx | |
parent | 0bc3e46082d9018188262f9cb8fdbc206d0656a0 (diff) | |
download | chat-b7a128ec1cbb643f71e6c877defda6e8b6ab80b3.tar.gz chat-b7a128ec1cbb643f71e6c877defda6e8b6ab80b3.tar.bz2 chat-b7a128ec1cbb643f71e6c877defda6e8b6ab80b3.zip |
Fixing ids for UI automation (#5772)
Diffstat (limited to 'webapp/components/setting_item_max.jsx')
-rw-r--r-- | webapp/components/setting_item_max.jsx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/webapp/components/setting_item_max.jsx b/webapp/components/setting_item_max.jsx index 21fe389a7..9f3c4f0cf 100644 --- a/webapp/components/setting_item_max.jsx +++ b/webapp/components/setting_item_max.jsx @@ -31,12 +31,30 @@ export default class SettingItemMax extends React.Component { render() { var clientError = null; if (this.props.client_error) { - clientError = (<div className='form-group'><label className='col-sm-12 has-error'>{this.props.client_error}</label></div>); + clientError = ( + <div className='form-group'> + <label + id='clientError' + className='col-sm-12 has-error' + > + {this.props.client_error} + </label> + </div> + ); } var serverError = null; if (this.props.server_error) { - serverError = (<div className='form-group'><label className='col-sm-12 has-error'>{this.props.server_error}</label></div>); + serverError = ( + <div className='form-group'> + <label + id='serverError' + className='col-sm-12 has-error' + > + {this.props.server_error} + </label> + </div> + ); } var extraInfo = null; |