Fix testIDs
This commit is contained in:
parent
8e94c5b305
commit
bf1bd42aef
2 changed files with 2 additions and 2 deletions
|
|
@ -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`}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue