From b5de89755d15bb9b2d5e8b350cd3c25f302ab71e Mon Sep 17 00:00:00 2001 From: Keith Melmon Date: Tue, 20 Oct 2020 17:26:28 -0700 Subject: [PATCH] add testID, helps tests find items in the list (#30138) Summary: This change adds a testID to each item in the RNTester list. This helps Appium find items in the list for automated tests. The change was added in react-native-windows as part of end-to-end test infrastructure changes. See https://github.com/microsoft/react-native-windows/pull/5555 We'd like to remove this forked file, upstreaming this change will enable us to do that. ## Changelog [General] [Changed] - add testID to items in RNTester test list, helps test automation tools find the items Pull Request resolved: https://github.com/facebook/react-native/pull/30138 Test Plan: Change is currently running in react-native-windows CI loop. Reviewed By: cpojer Differential Revision: D24434352 Pulled By: appden fbshipit-source-id: 998916d8fe4e4e4cd6ac764baabb9fd5f2e312c7 --- packages/rn-tester/js/components/RNTesterExampleList.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/rn-tester/js/components/RNTesterExampleList.js b/packages/rn-tester/js/components/RNTesterExampleList.js index 3b14304272a..4f47b3fed6d 100644 --- a/packages/rn-tester/js/components/RNTesterExampleList.js +++ b/packages/rn-tester/js/components/RNTesterExampleList.js @@ -39,6 +39,7 @@ const ExampleCard = ({ const onAndroid = !platform || platform === 'android'; return (