android / android/android-test

Espresso clicks on the wrong location for rotated views

オープン
#403 コメント 1 件 リアクション 6 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
1.2k
フォーク
342
平均マージ
11時間 29分
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

AndroidX Test リポジトリの GeneralLocation と、リンクされている Issue Tracker のレポートから始め、その後、API 25 上で Espresso 3.1.1 を使用し、公開されている espresso-click-sample リポジトリで回転したビューの動作を再現します。修正が存在するか、どのバージョンに含まれているか、またそのバージョンがリリース済みかどうかを判断できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, java
領域
mobile, testing
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。