forked from Ivasoft/mattermost-mobile
Fix testIDs
This commit is contained in:
@@ -44,7 +44,7 @@ const PinChannelOption = ({isPostPinned, postId}: PinChannelProps) => {
|
||||
defaultMessage={defaultMessage}
|
||||
iconName='pin-outline'
|
||||
onPress={onPress}
|
||||
testID={`post.options.${key}.channel.option`}
|
||||
testID={`post_options.${key}.channel.option`}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -34,7 +34,7 @@ const SaveOption = ({isSaved, postId}: CopyTextProps) => {
|
||||
defaultMessage={defaultMessage}
|
||||
iconName='bookmark-outline'
|
||||
onPress={onHandlePress}
|
||||
testID={`post.options.${defaultMessage.toLocaleLowerCase()}.channel.option`}
|
||||
testID={`post_options.${defaultMessage.toLocaleLowerCase()}.channel.option`}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user