android / android/android-test
Espresso clicks on the wrong location for rotated views
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
### Description
I'm trying to find out what happened to this issue:
https://issuetracker.google.com/issues/64758984
(related: https://stackoverflow.com/q/42626452/253468)
It says fixed for a year now, yet Espresso 3.1.1 (latest stable atm) doesn't work. The code of GeneralLocation is exactly as described in the issue. I tried to search the history for the bug IDs but couldn't find any trace of the fix. Can you please help me find the fix, which version has the fix, whether it's released, or really any info? No mention in [release notes](https://developer.android.com/jetpack/androidx/releases/archive/test) either.
### Steps to Reproduce
see https://issuetracker.google.com/issues/64758984
### Expected Results
clicks correctly
### Actual Results
`perform(click())` passes, but `OnClickListener` not triggered
### AndroidX Test and Android OS Versions
3.1.1, API 25
### Link to a public git repo demonstrating the problem:
https://github.com/duanbo1983/espresso-click-sample
Contributor guide
Research direction
Start with GeneralLocation in the AndroidX Test repository and the linked Issue Tracker report, then reproduce the rotated-view behavior using the public espresso-click-sample repository on API 25 with Espresso 3.1.1. Done means determining whether a fix exists, which version contains it, and whether that version was released.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100