Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Espresso / UIAutomatorTest cannot access WebView #20

Open
anh1979 opened this issue Feb 15, 2019 · 1 comment
Open

[Android] Espresso / UIAutomatorTest cannot access WebView #20

anh1979 opened this issue Feb 15, 2019 · 1 comment

Comments

@anh1979
Copy link

anh1979 commented Feb 15, 2019

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

@janpio
Copy link
Collaborator

janpio commented Feb 15, 2019

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants