-
Notifications
You must be signed in to change notification settings - Fork 159
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 test hanging forever #1079
Comments
Here is the full log for Android:
|
You set up native automation wrong. But that's okay, I admit it's not easy for the first time :( We have an idea on how to improve this so that for developing tests you'd get basically 1 click setup, but currently, it's just an idea. Mistakes:
Share the final result and let me know if this helps :) |
It is MainActivityTest.java, the kotlin one is my own main activity :) sorry the highlighted file in my screen is not the test file I didn't pay attention to the selection when taking the screenshot
It is in
|
Ah, okay then. Can you show the screenshot of your project's whole file hierarchy? |
I believe we have the same problem with CamerAwesome. Here is the full log: patrol test --target integration_test/ui_test.dart --verboseseb@MacBook-Pro example % patrol test --target integration_test/ui_test.dart --verbose I'm not sure what's wrong but the app never launches on my device although both apps are installed. I'm using patrol_cli v1.1.0 |
@apalala-dev I check your repo (since it's the only example that I can actually run - nobody else shared their examples) and made Apparence-io/CamerAwesome#296. The issue you mentioned doesn't occur anymore (at least on my machine). |
Closing because of no activity. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Describe the bug
So now that I was not able to run on iOS I give it a try on Android, but look like I have same issue that the test never launch and wait forever. Android screen turned black and wait.
I don't see any errors in there. So I have no idea what's preventing the tests to run.
Here is my build.gradle where I added the setup:
And here the native class test that's needed:

The text was updated successfully, but these errors were encountered: