在Calabash测试中超时

时间:2016-10-11 21:17:44

标签: cucumber calabash calabash-ios

我已将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'

请您分享一下您对此问题的看法。

1 个答案:

答案 0 :(得分:1)

看起来您需要再次“捆绑exec calabash-ios下载”,这样您就可以下载最新版本的Calabash服务器,该服务器与您安装的0.20.0相匹配,然后在Xcode中重建您的应用程序框架添加。然后使用该版本进行测试。或者,如果构建服务器正在执行工作,则只需更新构建服务器上的gem并重建。

相关问题