diff --git a/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js b/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js index 6d4ab03b5e56..6deec34c9337 100644 --- a/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js +++ b/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js @@ -44,6 +44,8 @@ function MentionUserRenderer(props) { href={ROUTES.getDetailsRoute(loginWithoutLeadingAt)} style={[_.omit(props.style, 'color'), StyleUtils.getMentionStyle(isOurMention), {color: StyleUtils.getMentionTextColor(isOurMention)}]} onPress={() => showUserDetails(loginWithoutLeadingAt)} + // Add testID so it is NOT selected as an anchor tag by SelectionScraper + testID="span" >