Commit f543ff88 authored by Saturnino Abril's avatar Saturnino Abril

revert channel header IDs for selenium testing compatibility (#2160)

parent 91d57dc5
......@@ -24,6 +24,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.AddMembers should match snaps
}
}
dialogType={[Function]}
id="channelAddMembers"
modalId="channel_invite"
role="menuitem"
>
......
......@@ -20,6 +20,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.ConvertChannel should match s
}
}
dialogType={[Function]}
id="channelConvert"
modalId="convert_channel"
role="menuitem"
>
......
......@@ -14,6 +14,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.NotificationPreferences shoul
}
}
dialogType={[Function]}
id="channelNotifications"
modalId="channel_notifications"
role="menuitem"
>
......
......@@ -24,6 +24,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.RenameChannel should match sn
}
}
dialogType={[Function]}
id="channelRename"
modalId="rename_channel"
role="menuitem"
>
......
......@@ -24,7 +24,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.SetChannelHeader should match
}
}
dialogType={[Function]}
id="editChannelHeader"
id="channelEditHeader"
modalId="edit_channel_header"
role="menuitem"
>
......
......@@ -24,6 +24,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.SetChannelPurpose should matc
}
}
dialogType={[Function]}
id="channelEditPurpose"
modalId="edit_channel_purpose"
role="menuitem"
>
......
......@@ -13,6 +13,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.ViewAndManageMembers should m
}
}
dialogType={[Function]}
id="channelManageMembers"
modalId="channel_members"
role="menuitem"
>
......@@ -60,6 +61,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.ViewAndManageMembers should m
}
}
dialogType={[Function]}
id="channelManageMembers"
modalId="channel_members"
role="menuitem"
>
......
......@@ -13,6 +13,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.ViewChannelInfo should match
}
}
dialogType={[Function]}
id="channelViewInfo"
modalId="channel_info"
role="menuitem"
>
......
......@@ -39,6 +39,7 @@ const AddMembers = ({channel, isDefault, isArchived}) => {
>
<li role='presentation'>
<ToggleModalButtonRedux
id='channelAddMembers'
role='menuitem'
modalId={ModalIdentifiers.CHANNEL_INVITE}
dialogType={ChannelInviteModal}
......
......@@ -6,6 +6,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.CloseChannel should match sna
>
<button
className="style--none"
id="channelClose"
onClick={[Function]}
role="menuitem"
>
......
......@@ -25,6 +25,7 @@ export default class CloseChannel extends React.PureComponent {
return (
<li role='presentation'>
<button
id='channelClose'
className='style--none'
role='menuitem'
onClick={this.handleClose}
......
......@@ -28,6 +28,7 @@ const ConvertChannel = ({channel, isDefault, isArchived}) => {
>
<li role='presentation'>
<ToggleModalButtonRedux
id='channelConvert'
role='menuitem'
modalId={ModalIdentifiers.CONVERT_CHANNEL}
dialogType={ConvertChannelModal}
......
......@@ -25,6 +25,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.DeleteChannel should match sn
}
}
dialogType={[Function]}
id="channelDelete"
modalId="delete_channel"
role="menuitem"
>
......
......@@ -35,6 +35,7 @@ const DeleteChannel = ({channel, isDefault, isArchived, penultimateViewedChannel
>
<li role='presentation'>
<ToggleModalButtonRedux
id='channelDelete'
role='menuitem'
modalId={ModalIdentifiers.DELETE_CHANNEL}
dialogType={DeleteChannelModal}
......
......@@ -6,6 +6,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.LeaveChannel should match sna
>
<button
className="style--none"
id="channelLeave"
onClick={[Function]}
role="menuitem"
>
......
......@@ -68,6 +68,7 @@ export default class LeaveChannel extends React.PureComponent {
return (
<li role='presentation'>
<button
id='channelLeave'
role='menuitem'
className='style--none'
onClick={this.handleLeave}
......
......@@ -23,6 +23,7 @@ const NotificationPreferences = ({user, channel, isArchived}) => {
return (
<li role='presentation'>
<ToggleModalButtonRedux
id='channelNotifications'
role='menuitem'
modalId={ModalIdentifiers.CHANNEL_NOTIFICATIONS}
dialogType={ChannelNotificationsModal}
......
......@@ -35,6 +35,7 @@ const RenameChannel = ({channel, isArchived}) => {
>
<li role='presentation'>
<ToggleModalButtonRedux
id='channelRename'
role='menuitem'
modalId={ModalIdentifiers.RENAME_CHANNEL}
dialogType={RenameChannelModal}
......
......@@ -31,7 +31,7 @@ const SetChannelHeader = ({channel, isArchived, isReadonly}) => {
>
<li role='presentation'>
<ToggleModalButtonRedux
id='editChannelHeader'
id='channelEditHeader'
role='menuitem'
modalId={ModalIdentifiers.EDIT_CHANNEL_HEADER}
dialogType={EditChannelHeaderModal}
......
......@@ -39,6 +39,7 @@ const SetChannelPurpose = ({channel, isArchived, isReadonly}) => {
>
<li role='presentation'>
<ToggleModalButtonRedux
id='channelEditPurpose'
role='menuitem'
modalId={ModalIdentifiers.EDIT_CHANNEL_PURPOSE}
dialogType={EditChannelPurposeModal}
......
......@@ -6,6 +6,7 @@ exports[`components/ChannelHeaderDropdown/MenuItem.ToggleMuteChannel should matc
>
<button
className="style--none"
id="channelMute"
onClick={[Function]}
role="menuitem"
>
......
......@@ -73,6 +73,7 @@ export default class ToggleMuteChannel extends React.PureComponent {
return (
<li role='presentation'>
<button
id='channelMute'
className='style--none'
role='menuitem'
onClick={this.handleClick}
......
......@@ -27,6 +27,7 @@ const ViewAndManageMembers = ({channel, isDefault}) => {
return (
<li role='presentation'>
<ToggleModalButtonRedux
id={'channelManageMembers'}
role='menuitem'
modalId={ModalIdentifiers.CHANNEL_MEMBERS}
dialogType={ChannelMembersModal}
......
......@@ -22,6 +22,7 @@ const ViewChannelInfo = ({channel}) => {
return (
<li role='presentation'>
<ToggleModalButtonRedux
id='channelViewInfo'
role='menuitem'
modalId={ModalIdentifiers.CHANNEL_INFO}
dialogType={ChannelInfoModal}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment