-
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
Simulator freezes when running detox tests #1526
Comments
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the Feel free to post your Stack Overflow question here for more visility. We'll take a look at it. For more information on bots in this reporsitory, read this discussion. |
If the simulator is hanging, this is not a Detox issue. Please open a stack overflow question, where we can explore ways to debug this. |
We're having an issue when running our e2e test suite, particularly when running on CI (Bitrise).
During the test suite, a few tests (different on each run) will error out with:
What actually happens is the simulator freezes and becomes unresponsive (it's impossible to click on anything, use the keyboard, turn it off using the rendered power button; you need to kill it using Cmd+W, or restart using Hardware menu). When it happens, all following tests in the given file fail with a Timeout error.
Then, when we're starting a new test suite (new spec file), a new simulator is opened by Detox and the tests carry on... until this happens again.
I've seen it happens 2 times in the test suite, resulting in 3 simulators being open (2 of them frozen).
Error log for the test suite in which this happens:
I.e. logs for frozen tests testing deep links (using either
device.opernURL()
ordevice.launchApp()
):Any hints on how to resolve this?
It makes it impossible for us to run our tests on CI, as this happens at least 50% of the time.
ReactNative version: 0.59.9 (same thing occurs on 57.6 though)
Xcode version: 10.1
Detox version: 12.11.3
Applesimutils: 0.6.7 (same thing happens on 0.6.6, 0.7)
The text was updated successfully, but these errors were encountered: