我已经将calabash gem更新为最新的version(0.20.0),并尝试在iOS 10设备上运行测试。我面临的问题是,第一个测试按预期执行,但连续的测试失败,并显示以下错误消息:
Timed out after 60.04 seconds executing
with a timeout of 60
(RunLoop::Shell::TimeoutError)我在控制台上收到以下警告消息,但我不确定这些消息是否与问题相关。
WARN:
Calabash::Cucumber::Launcher #calabash_no_launch? and support for the NO_LAUNCH
environment variable has been removed from Calabash. This always returns
true. Please remove this method call from your hooks.
WARN: The server version is not compatible with gem version.
Please update your server.
https://github.com/calabash/calabash-ios/wiki/Updating-your-Calabash-iOS-version
gem version: '0.20.0'
min server version: '0.20.0'
server version: '0.19.1'你能分享一下你对这个问题的看法吗?
发布于 2016-10-24 23:46:33
看起来你需要再次下载“bundle exec calabash-ios下载”,这样你就可以下载与你已经安装的0.20.0版本相匹配的Calabash服务器的最新版本,然后在Xcode中重新构建添加了该框架的应用程序。然后使用该版本进行测试。或者,如果您的构建服务器正在执行此工作,您只需更新构建服务器上的gem并进行重新构建。
https://stackoverflow.com/questions/39986892
复制相似问题