Detox icon indicating copy to clipboard operation
Detox copied to clipboard

The app has not responded to the network requests below

Open zfolwick opened this issue 1 year ago • 5 comments

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. Screenshot 2023-09-05 at 2 40 30 PM

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

zfolwick avatar Sep 05 '23 22:09 zfolwick

I have the same problem as you, have you found a solution? thanks!

truonghoangpham123 avatar Oct 06 '23 08:10 truonghoangpham123

I am also experiencing this? Any update or resolution?

cmw9706 avatar Nov 14 '23 19:11 cmw9706

I also hit this problem. Has anyone found a solution?

MetodievIvaylo avatar Dec 01 '23 11:12 MetodievIvaylo

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

christianrank avatar Feb 14 '24 09:02 christianrank

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

cmw9706 avatar Mar 12 '24 12:03 cmw9706