Replies: 1 comment
|
I think the There's an open request asking for exactly this on the RN side, from 2023, still unresolved: #490 What React Native actually uses is Which means you don't really need the plugin to change behaviour. You just need both props to carry the same value: const tracked = (id) => ({
testID: id,
accessibilityLabel: id,
});
<Button {...tracked('login-submit')} onPress={handleSubmit} />Your test suite keeps using Worth checking Two caveats, since I'm going off docs rather than the plugin source:
|
Uh oh!
There was an error while loading. Please reload this page.
Hey, we're using
"@datadog/mobile-react-native-babel-plugin": "2.14.9"in our React Native app and want to maketestIDs appear in TAP actions on RUM tab.As babel plugin documentation does not exist, would you mind guiding us on how to achieve it?
This is our current stage of
babel.config.js:Is there anything else required?
All reactions