Detox
Detox copied to clipboard
The app has not responded to the network requests below
Description
I have an ios app I'm testing with cucumber over detox. The error is The app has not responded to the network requests below:
, followed by whatever I select as an action. Unresponded network requests might result in timeout errors in Detox tests.
It clicks the first few buttons, then gets to a credit card screen, tries to clear an input field by pressing a button that clears the field.
looking at the simctl logs:
5286:2023-09-05 14:42:39.453 E client[18335:1823e] (CFNetwork) Task <366DB026-07DE-428E-AFC5-7CB80CE216D4>.<1> finished with error [57] Error Domain=N
SPOSIXErrorDomain Code=57 "Socket is not connected" UserInfo={NSErrorFailingURLStringKey=http://localhost:53794/, NSErrorFailingURLKey=http://localhost:53794/, _NSURLErrorRelatedURLSessionTaskErrorKey=(
the full error:
The app has not responded to the network requests below:
(id = 22) invoke: {"type":"action","action":"tap","predicate":{"type":"id","value":"clear-field-button","isRegex":false}}
Unresponded network requests might result in timeout errors in Detox tests.
What would cause an issue like this? I'm at a loss for troubleshooting this.
Your environment
Detox version: 20.11.2 React Native version: 11.3.6 Node version: v16.15.0 Device model: iPad (10th generation) OS: Test-runner (select one): cucumber on top of detox
I have the same problem as you, have you found a solution? thanks!
I am also experiencing this? Any update or resolution?
I also hit this problem. Has anyone found a solution?
Any news on this? I'm stuck on a similar issue which does not make sense to me.
The app has not responded to the network requests below:
(id = 61) invoke: {"type":"action","action":"tap","predicate":{"type":"id","value":"doSearch","isRegex":false}}
The issue only happens on iOS. I am using Detox 20.12.1, React Native 0.72.5
Just for others that end up here.
https://www.reddit.com/r/softwaretesting/comments/133i5b4/smartbear_has_stopped_supporting_cucumber/
It looks like cucumber is no longer officially supported.
I created a VERY crude script to convert our feature files to tests and we just do our BDD this way.
https://gist.github.com/cmw9706/8ad3307c904bfaa82d33676842dffc6d