android / android/android-test

Espresso clicks on the wrong location for rotated views

Offen
#403 1 Kommentar 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
1.2k
Forks
342
Ø Merge
11 Std. 29 Min.
Gemergte PRs (30 T.)
2

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit GeneralLocation im AndroidX Test-Repository und dem verknüpften Issue-Tracker-Bericht. Reproduziere dann das Verhalten bei gedrehter Ansicht mithilfe des öffentlichen espresso-click-sample-Repositorys auf API 25 mit Espresso 3.1.1. Als abgeschlossen gilt die Ermittlung, ob ein Fix existiert, welche Version ihn enthält und ob diese Version veröffentlicht wurde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, java
Bereich
mobile, testing
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.