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

reloadApp not working for detox version above 7.2.0 #8

Closed
tatane616 opened this issue Sep 5, 2018 · 2 comments
Closed

reloadApp not working for detox version above 7.2.0 #8

tatane616 opened this issue Sep 5, 2018 · 2 comments

Comments

@tatane616
Copy link

tatane616 commented Sep 5, 2018

When running command detox test, reloadApp() not working for detox version above 7.2.0.
Less than 7.2.0, It works normally.

"dependencies": {
    "expo": "^29.0.0",
    "react": "16.2.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-29.0.0.tar.gz"
  },
  "devDependencies": {
    "detox": "7.3.0",
    "detox-expo-helpers": "^0.2.0",
    "mocha": "^4.0.1"
  },

I want to enable artifacts such as device logs, device screenshots and screen recordings, but it does not correspond to detox 7.2.0 or lower.
https://github.com/wix/Detox/blob/master/docs/APIRef.Artifacts.md
Is there any solution?

@watanabeyu
Copy link

watanabeyu commented Sep 5, 2018

This problem is caused by await this.deviceDriver.waitUntilReady() from v8.0.0.
(https://github.com/wix/detox/blob/master/detox/src/devices/Device.js#L89)

So detox-expo-helpers is not wrong.

If you use wix/detox above 7.2.0, detach expo.

@haikyuu
Copy link

haikyuu commented Mar 1, 2019

Any workarounds for this? Any way we can avoid detaching?

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

No branches or pull requests

3 participants