Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app has not responded to the network requests below #4179

Open
zfolwick opened this issue Sep 5, 2023 · 5 comments
Open

The app has not responded to the network requests below #4179

zfolwick opened this issue Sep 5, 2023 · 5 comments

Comments

@zfolwick
Copy link

zfolwick commented Sep 5, 2023

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

@truonghoangpham123
Copy link

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

@cmw9706
Copy link

cmw9706 commented Nov 14, 2023

I am also experiencing this? Any update or resolution?

@MetodievIvaylo
Copy link

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

@christianrank
Copy link

christianrank commented Feb 14, 2024

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

@cmw9706
Copy link

cmw9706 commented Mar 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants