android / android/android-test
Add support for androidx.appcompat.widget.SearchView
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
### Description
`TypeTextAction` supports `android.widget.SearchView`, but not `androidx.appcompat.widget.SearchView`
https://github.com/android/android-test/blob/9f059d364bfed8aaa11ffd8c09f1bb27201ce01b/espresso/core/java/androidx/test/espresso/action/TypeTextAction.java#L111
Need to add this to the list of matchers in the line above:
```
isAssignableFrom(androidx.appcompat.widget.SearchView.class)
```
### AndroidX Test and Android OS Versions
3.3.0-rc1
Contributor guide
Research direction
Open TypeTextAction.java at the matcher list linked in the issue and compare the existing android.widget.SearchView handling. Add the androidx.appcompat.widget.SearchView matcher, then run the relevant AndroidX Test Espresso action tests to confirm both SearchView types remain supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 62/100