You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have finished setting up Detox for my RN App. Build works fine for both iOS and Android. However, when I try to run the tests they always fail with some kind of error (on both iOS and android). This behaviour is not consistent: if I try to run the tests twice, it fails with a different error each time.
The app opens up correctly in the sim and syncs with metro, but the tests hang.
iOS
First error
The app has not responded to the network requests below:
(id = -1000) isReady: {}
Unresponded network requests might result in timeout errors in Detox tests.
Second error
Right after this error, I retried and got a different one:
The app is busy with the following tasks:
• 1 enqueued native timers:
- Timer #1:
+ Fire date: none.
+ Time until fire: 0.000.
+ Repeat interval: 0.
+ Is recurring: YES.
• Run loop "Main Run Loop" is awake.
• There are 1 work items pending on the dispatch queue: "Main Queue (<OS_dispatch_queue_main: com.apple.main-thread>)".
What was the expected behaviour?
After the successful build, the tests run.
Was it tested on latest Detox?
I have tested this issue on the latest Detox release and it still reproduces.
What happened?
I have finished setting up Detox for my RN App. Build works fine for both iOS and Android. However, when I try to run the tests they always fail with some kind of error (on both iOS and android). This behaviour is not consistent: if I try to run the tests twice, it fails with a different error each time.
The app opens up correctly in the sim and syncs with metro, but the tests hang.
iOS
First error
Second error
Right after this error, I retried and got a different one:
What was the expected behaviour?
After the successful build, the tests run.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
In what environment did this happen?
Detox version: 20.33.0
React Native version: 0.74.5
Has Fabric (React Native's new rendering system) enabled: no
Node version: v20.15.1
Device model: iPhone 15 sim
iOS version: iOS 17.5
macOS version: Sonoma 14.0
Xcode version: 15.4
Test-runner: jest
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: