summaryrefslogtreecommitdiffstats
path: root/webapp/components/setting_item_max.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-03-16 12:00:52 -0700
committerGitHub <noreply@github.com>2017-03-16 12:00:52 -0700
commitb7a128ec1cbb643f71e6c877defda6e8b6ab80b3 (patch)
tree51d92308c47d1292b7ca162c0343f52f7e3b6cf7 /webapp/components/setting_item_max.jsx
parent0bc3e46082d9018188262f9cb8fdbc206d0656a0 (diff)
downloadchat-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.jsx22
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;