超时::水豚错误
我的 Gemfile 中有以下 gem
gem 'steak'
gem 'capybara', '~>0.4.1'
当我对单个文件运行测试时似乎没有问题,但是,如果我一次运行所有测试,我会收到 Timeout::Error< /代码>。在超时之前,测试挂起,因此我手动单击了一个按钮,错误是在缓存中找不到元素
。这是缓存问题吗?当我运行一些测试时,我还收到 Selenium::WebDriver::Element#value is deprecated, please use Selenium::WebDriver::Element#attribute('value')
警告。我希望问题很清楚,如果需要回答任何问题,请告诉我。
I have following gems in my Gemfile
gem 'steak'
gem 'capybara', '~>0.4.1'
When I run a test for single file there seems to be no problem however, if I run all the tests at once, I am getting Timeout::Error
. Before timing out, the test hangs so I manually clicked a button and the error was Element not found in the cache
. Is this some caching problem? I am also getting Selenium::WebDriver::Element#value is deprecated, please use Selenium::WebDriver::Element#attribute('value')
warning when I run some of the tests. I hope the question is clear, if anything is required for answering please let me know.
Note: I had set up steak through steak-because-cucumber-is-for-vegerarians
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,我发现了这个,似乎selenium不支持firefox 4。 seleniumhq.org我真的希望这个问题能尽快得到解决...
yeah I found this, seems like selenium does not support firefox 4. seleniumhq.org I really hope this issue gets solved soon...