diff options
author | doh5 <doo@mattermost.com> | 2017-05-16 01:39:14 +0900 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-05-15 12:39:14 -0400 |
commit | 34728f748bfd7976c085f1be77e53f70d6e55a06 (patch) | |
tree | 14e698b0ba43436afe02bae00086fa43a0c7eeeb | |
parent | ec2433a1e1c0a2c8c73a81de704dab8fdedcf45b (diff) | |
download | chat-34728f748bfd7976c085f1be77e53f70d6e55a06.tar.gz chat-34728f748bfd7976c085f1be77e53f70d6e55a06.tar.bz2 chat-34728f748bfd7976c085f1be77e53f70d6e55a06.zip |
Add an ID to the sidebar channel more (#6399)
* Add an ID to the sidebar channel more
For UI Automation
* Add an ID to the Create New Channel button
-rw-r--r-- | webapp/components/more_channels/more_channels.jsx | 1 | ||||
-rw-r--r-- | webapp/components/sidebar.jsx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/webapp/components/more_channels/more_channels.jsx b/webapp/components/more_channels/more_channels.jsx index 3643d916b..4a1d487c0 100644 --- a/webapp/components/more_channels/more_channels.jsx +++ b/webapp/components/more_channels/more_channels.jsx @@ -142,6 +142,7 @@ export default class MoreChannels extends React.Component { let createNewChannelButton = ( <button + id='createNewChannel' type='button' className='btn btn-primary channel-create-btn' onClick={this.props.handleNewChannel} diff --git a/webapp/components/sidebar.jsx b/webapp/components/sidebar.jsx index 5784f96ba..f8b3616f3 100644 --- a/webapp/components/sidebar.jsx +++ b/webapp/components/sidebar.jsx @@ -852,6 +852,7 @@ export default class Sidebar extends React.Component { {publicChannelItems} <li> <a + id='sidebarChannelsMore' href='#' className='nav-more' onClick={this.showMoreChannelsModal} |