[英]calabash-ios: The app hangs when running automation
我正在使用模拟器(iOS 9.0)。
我正在运行命令: device_target=UDID cucumber
模拟器启动,应用正在加载,但控制台挂起几分钟,直到超时。
在控制台中手动运行它时,我遇到相同的问题:
calabash-ios console
start_test_server_in_background
我得到的错误是:
#<RuntimeError: Timed out connecting to Calabash server after 10 retries. Make sure it is linked and App isn't crashing>
RuntimeError: Unable to make connection to Calabash Server at http://localhost:37265/`
Make sure you don't have a firewall blocking traffic to http://localhost:37265/.
运行命令curl http://localhost:37265
并得到错误curl http://localhost:37265
curl: (7) Failed to connect to localhost port 37265: Connection refused
我想念的是什么?
(在Xamarin中开发的应用)
device_target = UDID黄瓜
这没有达到您的期望。 葫芦响应DEVICE_TARGET而不响应device_target。
我最好的猜测是,您需要检查您的.app是否与Calabash链接。
请查看这两页:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.