diff --git a/app/components/channel_actions/channel_actions.tsx b/app/components/channel_actions/channel_actions.tsx index 3f1d3963ad..87b471851d 100644 --- a/app/components/channel_actions/channel_actions.tsx +++ b/app/components/channel_actions/channel_actions.tsx @@ -46,13 +46,13 @@ const ChannelActions = ({channelId, channelType, inModal = false, testID}: Props {channelType && DIRECT_CHANNELS.includes(channelType) && diff --git a/app/components/channel_actions/favorite_box/favorite_box.tsx b/app/components/channel_actions/favorite_box/favorite_box.tsx index dae9aeb4bc..06950b36f0 100644 --- a/app/components/channel_actions/favorite_box/favorite_box.tsx +++ b/app/components/channel_actions/favorite_box/favorite_box.tsx @@ -27,6 +27,8 @@ const FavoriteBox = ({channelId, containerStyle, isFavorited, showSnackBar = fal toggleFavoriteChannel(serverUrl, channelId, showSnackBar); }, [serverUrl, channelId, showSnackBar]); + const favoriteActionTestId = isFavorited ? `${testID}.unfavorite.action` : `${testID}.favorite.action`; + return ( ); diff --git a/app/components/channel_actions/mute_box/mute_box.tsx b/app/components/channel_actions/mute_box/mute_box.tsx index fc7ae62402..4d96c7d5d2 100644 --- a/app/components/channel_actions/mute_box/mute_box.tsx +++ b/app/components/channel_actions/mute_box/mute_box.tsx @@ -27,6 +27,8 @@ const MutedBox = ({channelId, containerStyle, isMuted, showSnackBar = false, tes toggleMuteChannel(serverUrl, channelId, showSnackBar); }, [channelId, isMuted, serverUrl, showSnackBar]); + const muteActionTestId = isMuted ? `${testID}.unmute.action` : `${testID}.mute.action`; + return ( ); diff --git a/app/components/post_draft/archived/index.tsx b/app/components/post_draft/archived/index.tsx index a51d5bfa9d..1a47041769 100644 --- a/app/components/post_draft/archived/index.tsx +++ b/app/components/post_draft/archived/index.tsx @@ -95,6 +95,7 @@ export default function Archived({