Detox can't seem to connect to the test app(s)! [IOS]
See original GitHub issueWhat happened?
What was the expected behaviour?
Not run test file
In what environment did this happen?
Detox version: 19.6.9 React Native version: 0.63.4 Node version: 14.18.1 Device model: Mac mini (M1, 2020) iOS version: 12.4 macOS version: 12.3.1 (21E258) Xcode version: 13.3.1 (13E500a) Test-runner (select one): jest-circus / jest+jasmine / mocha / other
Detox logs
Detox logs
DetoxRuntimeError: Detox can't seem to connect to the test app(s)!
HINT:
Have you forgotten to call 'device.launchApp()' in the beginning of your test?
Refer to our troubleshooting guide, for full details: https://wix.github.io/Detox/docs/troubleshooting/running-tests#tests-execution-hangs
---
The following package could not be delivered:
{
type: 'reactNativeReload',
params: {},
messageId: -1000
}
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:16 (6 by maintainers)
Top Results From Across the Web
Dealing With Problems With Running Tests | Detox
You might have forgotten to run device.launchApp() in the beginning of your test. · The app might have crashed before Detox has had...
Read more >Detox react-native build success, "Detox can't seem to connect ...
react-native app running in iOS Simulator. detox test -c ios leads to: detox[72935] ERROR: [APP_UNREACHABLE] Detox can't seem to connect to ...
Read more >React Native development tools - Part 3: Testing tools - Pusher
We'll be using a pre-created React Native app to implement the tools. ... We don't have to do a lot of that in...
Read more >React Native end-to-end testing with Detox - LogRocket Blog
For the sake of brevity, we'll only focus on the iOS flow. Let's get started! You can access the full code for this...
Read more >React Native E2E Tests with Detox and Mocha
React Native app running an End to End test with Detox. For a long time, I thought that automated tests were unnecessary, that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@2ducanhpham, @danilobuerger, @RichardPetrov, @ivari, @wkoutre, @isilher, and anyone who has experienced this issue, Please update Detox to the latest version (v19.7.0), we have fixed this issue in that version (here).
+1 on this, after updating to Xcode 13.4, on macOS 12.1.
Edit: Tried to repro on another machine, macOS 12.3.1. Tests worked, then upgraded to Xcode 13.4, tests no longer worked (same error as the op and my other machine).