I'm working on an application that uses uservoice. The uservoice snippet
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];
...
This javascript is loaded on all pages. When running rake spec
the run will periodically hang. All tests run smoothly when I remove the uservoice snippet. I've tried setting Capybara.javascript_driver = :webkit_debug
and I see no response from uservoice. When I set page.driver.browser.timeout
I can see a 0 response from uservoice and the specs will fail with a timeout error.
Anyone else encounter this problem?