I try to click on a fullscreen view with espresso, like this:
onView(withId(R.id.id)).perform(click());
But gets this error:
Error performing 'Send down montion event' on view 'unknown'
...
Caused by: android.support.test.espresso.InjectEventSecurityException: java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission
When I run the test on other devices, such as Nexus 6 and S4, the test runs fine, but on Samsung Galaxy S3 it throws this exception.
Aucun commentaire:
Enregistrer un commentaire