-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 event "Network Request" is taking place with object -ios #3443
Comments
@chamile you need to look into why that network request doesn't get replied to. On a different matter, have you considered using Detox's API for taking screenshots? |
This issue appears to be a general usage or support question. |
Damn, I'm running into this same issue, @chamile you ever figure this one out? |
I'm also having issues with this.
|
@johanndeswardt Could you please copy here the |
or the launch-app command with the |
Exactly the same issue as @OrLevy23, any findings about it? |
@OrLevy23 @NicholasBoccuzzi @menttys @chamile Please allow for testing out this new release with a related fix - https://github.com/wix/Detox/releases/tag/20.3.0 |
I am still getting this error in the updated detox version ("detox": "^20.5.0")
`import { device } from 'detox';
}); ` and it ends with error
● App Test › should have login screen
10:22:08.821 detox[8542] E Command failed with exit code = 1: Does anyone have any idea how can i resolve this? @d4vidi @mgithubmessier @menttys @OrLevy23 @chamile |
I have the same issue: detoxURLBlacklistRegex and setURLBlacklist do not seem to actually do anything.
I tried:
and
|
Same issue as @OrLevy23. Any news? |
We have the same issue with LaunchDarkly on the latest detox version. Any updates on it? @d4vidi |
@d4vidi Can I please ask to reopen this issue? Many people still have the same problem! Even after trying what was suggested. |
I just had this same issue: • The event "Network Request" is taking place with object: "URL: “https://clients3.google.com/generate_204?_=1701807425591”". I rarely restart my simulators, so running ![]() |
I was able to make it work by using
|
We use this internally and should work: beforeAll(async () => {
await device.launchApp({
newInstance: true,
launchArgs: {
detoxURLBlacklistRegex: '\\("^https://clientstream.launchdarkly.com/meval"\\)',
},
});
}); |
Life saver. I don't get how they made LD network requests so problematic. They also break Android entirely at least on the simulator :/ |
Description
I have a Sign-in button that it calls an API.
So whan I run
await element(by.text('Sign in')).tap();
it navigates to the corresponding page after calling the API request but the test hangs and waits without completing the test.
Code
Your environment
Detox version: 19.7.1
React Native version: 0.62.2
Node version: v16.11.1
Device model:
iOS version: 13
macOS version: 11.6
Xcode version: 13.0
Test-runner jest-circus
The text was updated successfully, but these errors were encountered: