-
Notifications
You must be signed in to change notification settings - Fork 146
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
Unable to run tests on physical devices #1949
Comments
Hi @Skisperd! I see that you use patrol 2.3.2, so you should use older CLI - version 2.2.2 instead of 2.3.0, bc the newer one requires at least patrol v3.0. Closing as it is not a bug, if you find a bug or have a feature request, please open new issue. If you have another questions, join our Discord, we'll try to help you there. Link to Discord: https://discord.gg/K5hq2Stw |
@jBorkowska |
That's weird. Anyway, here's new link: https://discord.gg/ukBK5t4EZg |
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. |
Steps to reproduce
patrol test --target integration_test\resources\tests/login\login_test.dart --flavor dev --release
Actual results
`Building apk with entrypoint test_bundle.dart...
integration_test/test_bundle.dart:50:50: Error: Too many positional arguments: 0 allowed, but 1 found.
Try removing the extra positional arguments.
final binding = PatrolBinding.ensureInitialized(NativeAutomatorConfig());
^
/C:/Users/tfdia/AppData/Local/Pub/Cache/hosted/pub.dev/patrol-2.3.2/lib/src/binding.dart:104:11: Context: Found this candidate, but the arguments don't match.
factory PatrolBinding.ensureInitialized() {
^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
Logs
Logs
Patrol version
patrol_cli v2.3.0
Patrol 2.3.2
Patrol Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: