Comments (7)
I know this is really dragging up a zombie thread, but I'm hitting the same issue now with androidx.test.espresso:espresso-core:3.2.0
testing on Android 10 emulator.
It's an intermittent failure only (occurring on CI) leading to:
androidx.test.espresso.PerformException: Error performing 'single click' on view 'with string from resource id [X]
Screenshots on failure can show me the soft keyboard still open blocking the button trying to be clicked.
Does anyone have any idea what the workaround mentioned above is/was?
Tried to track it down, but the link about goes to a page "android-test-kit has Moved!" â which gives a link to google.github.io/android-testing-support-library, which then gives a 404.
Old Google Groups which mentioned the issue seem to have been taking offline too.
from testing-samples.
Thanks for reporting this, i'm looking into it!
from testing-samples.
đ I found this work around for now.
from testing-samples.
Let's close this issue (as it's not a samples problem). Follow the bug at https://code.google.com/p/android-test-kit/issues/detail?id=79#c7
from testing-samples.
Hi,
I also had problems with opened soft keyboard, not only on Nexus devices. I solved that by adding a method like this
@Before
public void setup() {
closeSoftKeyboard();
}
Wish it might be helpful for someone.
@JoseAlcerreca, @bootstraponline your links are broken.
from testing-samples.
Hello,
Bug Fixes Espresso 2.2.1, Runner/Rules 0.4 (2015-09-14)
espresso
79: ViewActions#closeSoftKeyboard() does ensure that soft keyboard is completely gone
from testing-samples.
Thanks @ardock
from testing-samples.
Related Issues (20)
- Blind Helpet
- Ali HOT 1
- Basic sample(in Kotlin) for writing unit tests that mock the Android Framework sample App build is failing HOT 1
- BĂŠbĂŠ HOT 1
- Cannot run tests with Android Test Orchestrator using `adb` HOT 2
- Could not resolve com.android.tools.utp:android-test-plugin-host-additional-test-output:30.3.1 HOT 1
- `captureToBitmap` clips the image to the device screen size HOT 1
- testInstrumentationRunnerArguments clearPackageData in kotlin dsl and recent gradle HOT 1
- Support test validation on GitHub Actions HOT 2
- instrumentation app can use proguard?
- A
- Test HOT 1
- A HOT 1
- Run HOT 1
- Test HOT 1
- A
- Aa
- A
- My sample
- ScreenshotTestSample with Gradle Manged Devices and several shards generates screenshots for last shard only
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ď¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testing-samples.