Hello,
we are using cucumber tests with a jenkins server to test a website.
If the tests run manually and separate (locally or on the server) they all pass.
But if Jenkins runs all scenarios there is always one witch mysteriously failed, because of a strange Selenium- behavior: by any one of 100 scenarios Selenium is suddenly unable to click on any link. And this scenario get failed. The next scenario, wich uses the same steps will pass. After many weeks of searching i did not find any solution for this strange case.
Also i thought there will be a solution to rerun only the failed tests on jenkins server and a way to ignore the first failed test-result ( to mark as failed only those scenarios, wich fails more then only one time).
Any ideas how to solve it?
we use cucumber(1.1.2 vers.) with selenium-firefox-driver(2.41) and Junit build with Maven.
Thank you,
Ina