-
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
DetoxRuntimeError: Detox worker instance has not been installed in this context (DetoxSecondaryContext). #4352
Comments
Could you re-run your tests, but with appending |
Here ya go! @noomorph { |
I'm facing the same error, here's my config:
|
I hope I located your issue correctly. UPD: the PR was merged, we'll release a version soon. |
@stellae13, please update your Detox version to 20.17.1 (latest), and let me know if it already can see your |
@noomorph I'm facing the same issue, I've updated the version, still the same. |
@devartwa, well, I was fixing the original issue, not your issue. Do you have |
my bad. |
So you piggybacked on a non-related issue, @devartwa . Please create your own one with more details. |
@noomorph alright, but I got the same error, that's why I'm reporting here. |
@noomorph Sorry for the late response! I have updated to the 20.17.1 and restarted everything to make sure the update took effect. When I run npm test or npx jest I still get the same error but if I run detox test --configuration android.emu.debug it works fine now |
@stellae13 it is not possible to run |
Description
Hi everyone! I am working on my first React Native Project and have wanted to start doing some behavioral testing. I am getting the following issue when trying to run Detox.
I have seen other people post about having the same error, but the solutions they have found don't seem to work for me. This is my current .detoxrc.cjs file. I haven't changed anything from the default besides removing unnecessary IOS configurations since I am using Andriod.
When I run detox test ... --record-logs all:
]
Thanks in advance for anyone who takes the time to look!
Your environment
Detox version: 20.17.0
React Native version: 0.72.6
Node version: 18.18.0
Device model: Andriod
OS: Windows
Test-runner (select one): jest
The text was updated successfully, but these errors were encountered: