简体   繁体   English

Jenkins在Selenium Webdriver处于无头状态下运行Capybara / Cucumber测试时出现间歇性故障

[英]Intermittent Failures when Jenkins runs Capybara/Cucumber tests with Selenium Webdriver in headless state

I have a jenkins server that is running my cucumber tests whenever i push a commit. 我有一个jenkins服务器,每当我推送一次提交时,该服务器就会运行我的黄瓜测试。 Is there any known issues where jenkins running selenium will cause intermittent errors? jenkins运行硒会导致间歇性错误吗? All the tests pass consistently on my local machine. 所有测试均在我的本地计算机上一致通过。

There is no well known issue with Jenkins that causes intermittent error when running tests. Jenkins没有众所周知的问题,在运行测试时会导致间歇性错误。 It is in fact as stable as your test suit is. 实际上,它和您的测试服一样稳定。

I would start looking for differences between the environments. 我将开始寻找环境之间的差异。 Are there any external services that are unstable and causes your issues? 是否有任何不稳定的外部服务导致您的问题?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM