fastlane-plugin-cordova_screenshots icon indicating copy to clipboard operation
fastlane-plugin-cordova_screenshots copied to clipboard

[Android] Espresso / UIAutomatorTest cannot access WebView

Open anh1979 opened this issue 6 years ago • 1 comments

Error in mainActivityTest(de.xxx.test.MainActivityTest): ▸ android.support.test.espresso.NoMatchingViewException: No views in hierarchy found matching: WebView with JS enabled ▸ View Hierarchy...

Please could you provide a rich example of how to access IONIC app components from within the UIAutomator test. To be able to navigate inside the app ... And perhaps add some documentation about how to write and debug your tests in Android Studio. I managed to get that working some months ago, but now something broke and I didn't manage to get it working again.

thx in advance, Anne

anh1979 avatar Feb 15 '19 09:02 anh1979

We're in the same boat then - it's quite some time since I last used this. It's on my list of projects to revisit and improve, but currently my projects don't need it - so it is very low on the list of things to do unfortunately (unless someone comes forward and pays me to do so of course).

Let me see if I can find an old project using this...

janpio avatar Feb 15 '19 11:02 janpio