diff options
author | doh5 <doo@mattermost.com> | 2017-04-28 09:11:47 -0500 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-04-28 10:11:47 -0400 |
commit | 224ddb35cf7ac804883f2ef0c9e4f5ab83dde6bc (patch) | |
tree | 81037a289171bcd0c301b80484f8fa661eb78f93 | |
parent | 514f038f44d2bab1c49e6e374c65fbd6a0517e18 (diff) | |
download | chat-224ddb35cf7ac804883f2ef0c9e4f5ab83dde6bc.tar.gz chat-224ddb35cf7ac804883f2ef0c9e4f5ab83dde6bc.tar.bz2 chat-224ddb35cf7ac804883f2ef0c9e4f5ab83dde6bc.zip |
Add IDs to sidebar_header_dropdown (#6256)
for selenium automation
-rw-r--r-- | webapp/components/sidebar_header_dropdown.jsx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/webapp/components/sidebar_header_dropdown.jsx b/webapp/components/sidebar_header_dropdown.jsx index 256019b64..171003400 100644 --- a/webapp/components/sidebar_header_dropdown.jsx +++ b/webapp/components/sidebar_header_dropdown.jsx @@ -183,6 +183,7 @@ export default class SidebarHeaderDropdown extends React.Component { return ( <li> <Link + id='customEmoji' onClick={this.handleClick} to={'/' + this.props.teamName + '/emoji'} > @@ -219,6 +220,7 @@ export default class SidebarHeaderDropdown extends React.Component { inviteLink = ( <li> <a + id='sendEmailInvite' href='#' onClick={this.showInviteMemberModal} > @@ -249,6 +251,7 @@ export default class SidebarHeaderDropdown extends React.Component { teamLink = ( <li> <a + id='getTeamInviteLink' href='#' onClick={this.showGetTeamInviteLinkModal} > @@ -285,6 +288,7 @@ export default class SidebarHeaderDropdown extends React.Component { teamSettings = ( <li> <a + id='teamSettings' href='#' data-toggle='modal' data-target='#team_settings' @@ -326,6 +330,7 @@ export default class SidebarHeaderDropdown extends React.Component { integrationsLink = ( <li> <Link + id='Integrations' to={'/' + this.props.teamName + '/integrations'} onClick={this.handleClick} > @@ -362,6 +367,7 @@ export default class SidebarHeaderDropdown extends React.Component { teams.push( <li key='newTeam_li'> <Link + id='createTeam' key='newTeam_a' to='/create_team' onClick={this.handleClick} @@ -391,6 +397,7 @@ export default class SidebarHeaderDropdown extends React.Component { teams.push( <li key='joinTeam_li'> <Link + id='joinAnotherTeam' onClick={this.handleClick} to='/select_team' > @@ -406,6 +413,7 @@ export default class SidebarHeaderDropdown extends React.Component { teams.push( <li key='leaveTeam_li'> <a + id='leaveTeam' href='#' onClick={GlobalActions.showLeaveTeamModal} > |