android / android/android-test
Dialog click not working on Pixel 3 (Android 10)
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
### Description
On Pixel 3 (this is probably android 10 specific issue but I've tested it only on Pixel 3) simple clicking on dialog button immediately after it is shown does not work
### Steps to Reproduce
1. Animations are enabled on device.
2. Run ExampleInstrumentedTest
### Expected Results
ExampleInstrumentedTest should pass
### Actual Results
ExampleInstrumentedTest fails on Pixel 3 and passes on older devices
### AndroidX Test and Android OS Versions
espresso-core:3.2.0
androidx.test.ext:junit:1.1.1
androidx.appcompat:appcompat:1.0.2
Android 10 - api 29
### Link to a public git repo demonstrating the problem:
https://github.com/lsuski/espresso-android10-bug-sample
Contributor guide
Research direction
Start with the public reproduction repository and run ExampleInstrumentedTest on a Pixel 3 or Android 10 emulator with animations enabled. Compare the dialog-button click behavior with an older device; done means the test passes consistently on Android 10 as well as older versions.
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
- Mostly clear
- Newbie friendliness
- 35/100