react-native-macos/ReactAndroid
Hubert Gendron efb359f318 Fix testID support for TextInput, Slider and ScrollView component (#31865)
Summary:
With the advent of https://github.com/facebook/react-native/issues/29610, we are now able to use the `testID` view prop on Android in black-box testing framework through the  view's `resource-id`.

But after testing it, I noticed that on the `TextInput`, `Slider` and `ScrollView` components, the `testID` prop was not exposed as  the `resource-id` properly. The main issue was that those component was using the `AccessibilityDelegateCompat` instead of the `ReactAccessibilityDelegate`.

## Changelog

[Android] [Fixed] - Fix `testID` prop for `TextInput`, `Slider` and `ScrollView` components

Pull Request resolved: https://github.com/facebook/react-native/pull/31865

Test Plan: ![test-screenshot](https://user-images.githubusercontent.com/69216913/125802180-c0791a8c-a740-4657-a44f-42b1885eee39.png)

Reviewed By: mdvacca

Differential Revision: D29765333

Pulled By: yungsters

fbshipit-source-id: 2b8e362257e3e5fdcd20330280c588dabb44f28a
2021-07-23 13:04:47 -07:00
..
libs Upgrade Android support library to version 28 in RN 2019-01-22 10:44:53 -08:00
src Fix testID support for TextInput, Slider and ScrollView component (#31865) 2021-07-23 13:04:47 -07:00
.npmignore
Android-prebuilt.mk Implement and integrate Mapbuffer 2021-03-24 03:52:31 -07:00
DevExperience.md Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
README.md #31386 Fix Readme link to Testing (#31387) 2021-05-04 15:50:02 -07:00
build.gradle Migrate to androidx.autofill.HintConstants & Support all constant types (#28008) 2021-07-21 15:14:41 -07:00
gradle.properties RN: Replace `master` with `main` in Documentation 2021-07-15 15:22:57 -07:00
proguard-rules.pro Remove Okhttp3 Android Proguard Rules (#30514) 2020-12-17 09:41:17 -08:00

README.md

Building React Native for Android

See the docs on the website.

Running tests

When you submit a pull request CircleCI will automatically run all tests. To run tests locally, see Testing.