Replies: 1 comment 2 replies
-
binaryPath and testBinaryPath are different things, and each should lead to its own APK file. The test APK is created by commands like Make sure to finish your project setup: https://wix.github.io/Detox/docs/introduction/project-setup Normally you don't need to specify |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
My end goal is to run Detox tests on an existing APK. We are using React Native.
When running the following command
detox test --configuration android.emu.release
13:31:43.291 detox[42887] B jest --config detox/e2e/jest.config.js
13:31:44.601 detox[42888] i DetoxRuntimeError: Test APK at path /Users/ghassangharzuzy/Documents/GitHub/agwa-testing/detox/nativeApps/android/release/app.apk was detected as the app APK!
HINT: Your test test-binary path was probably wrongly set in the active Detox configuration.
For further assistance, visit the Android setup guide: https://github.com/wix/Detox/blob/master/docs/Introduction.Android.md
13:31:47.596 detox[42888] i planting.test.js is assigned to emulator-5554 (Nexus_5X_API_23)
13:31:47.689 detox[42888] i Planting flow: Can login to the app
13:31:47.690 detox[42888] i Planting flow: Can login to the app [FAIL]
....
No instrumentation runner found on device emulator-5554 for package com.agwa.mobileapp
I am able to see that the app was installed in the emulator.
I can see there is an example in a similar discussion here - but the example is no longer available - #3188
Is anyone familiar with this issue? Any idea how to fix it?
Beta Was this translation helpful? Give feedback.
All reactions