appium-espresso-driver icon indicating copy to clipboard operation
appium-espresso-driver copied to clipboard

Some react native controls are not responsive when run tests using appium espresso.

Open dtsvirkun opened this issue 4 years ago • 4 comments

we have a strange behavior when run tests using appium espresso driver, some controls do not respond when run tests using appium esspresso driver. https://github.com/dtsvirkun/rn-app here I created a simple app with only 1 "T" button. After clicking on it new input field should be visible. But this button does nothing when use appium espresso. This button works when use UIAutomator, Android Esspresso OR run app manually, so definetaly the problem is in appium esspresso server.

STR:

  1. build app from previous link
  2. run app using appium espresso driver ( may use https://github.com/dtsvirkun/appium-android-example) Note: Here needed to use custom build.config for espresso driver due to issue https://github.com/appium/appium-espresso-driver/issues/535
  3. Tap on "T" button manually or use .click()

Actual result: nothing happened when click on "T" button Expected result: new input field should be shown when click on "T" button

dtsvirkun avatar Mar 30 '20 18:03 dtsvirkun

What are the details of the Appium service running? Appium version? Logs? It really helps with diagnosing.

imurchie avatar Mar 30 '20 18:03 imurchie

Can you put the apk up in your repo? It won't build on my machine, at least not out-of-the-box.

imurchie avatar Mar 30 '20 18:03 imurchie

@imurchie the issue is that it reproducible only in debug mode and it requires running app locally

dtsvirkun avatar Apr 10 '20 09:04 dtsvirkun

Could you share the appium server log and logcat as GIST? Potentially, the root cause might be Espresso framework by Google.

KazuCocoa avatar Apr 10 '20 09:04 KazuCocoa