我正在使用一个使用uservoice的应用程序.uservoice片段
var uv = document.createElement('script');
uv.type = 'text/javascript';
uv.async = true;
uv.src = ...; // external call to uservoice to fetch js
var s = document.getElementsByTagName('script')[0];
...
Run Code Online (Sandbox Code Playgroud)
这个javascript加载在所有页面上.运行时rake spec运行会定期挂起.当我删除uservoice片段时,所有测试都顺利运行.我已经尝试过设置Capybara.javascript_driver = :webkit_debug,我看不到uservoice的响应.当我设置时,page.driver.browser.timeout我可以看到来自uservoice的0响应,并且规格将因超时错误而失败.
其他人遇到这个问题?