小编Tic*_*acV的帖子

ios 中的排毒测试失败 - 中止 detox.init() 执行

尝试为示例反应本机应用程序运行基本的 detox e2e。我正在关注这个博客。

但是 stepdetox test不运行测试。它只是挂在模拟器中(在 detox init 阶段),并且由于超时而失败。

有谁知道如何解决它?或者有人有任何排毒的工作样本吗?

排毒、节点、设备、Xcode 和 macOS 版本

detox 16.2.0 节点 v10.16.0 macOs 10.13.6 High Sierra Xcode 版本 10.1

错误:

detox test
detox[89159] INFO:  [test.js] configuration="ios.release" reportSpecs=true useCustomLogger=true DETOX_START_TIMESTAMP=1586928640139 node_modules/.bin/jest --config e2e/config.json '--testNamePattern=^((?!:android:).)*$' --maxWorkers 1 "e2e"
detox[89160] INFO:  [DetoxServer.js] server listening on localhost:57696...
detox[89160] INFO:  [AppleSimUtils.js] org.reactjs.native.example.testAM launched. To watch simulator logs, run:
        /usr/bin/xcrun simctl spawn 52AC48F5-EC9A-4423-8947-11EB05E187E7 log stream --level debug --style compact --predicate 'process == "testAM"'
detox[89160] INFO:  Example: …
Run Code Online (Sandbox Code Playgroud)

react-native react-native-ios detox

7
推荐指数
1
解决办法
864
查看次数

标签 统计

detox ×1

react-native ×1

react-native-ios ×1