Tuesday, March 1, 2016

Selenium WebDriver JUnit tests errors while running via Bamboo

I have been investigating the reason why my tests keep failing randomly and inconsistently during the overnight Bamboo Plan run. I spent a whole week and one of the reasons, we thought was the window size. So, we decided to set the size for all the tests.

The result of that was to write a reusable one method, and that caused a massive change to all my tests. They are good changes, I had been thinking to do so, but idea somehow wasn't coming. I worked with a coworker to get that done. However, that change also made me do something which I thought isn't a good practice but I had to. I couldn't win that argument. And I let it go and said, whatever you want, I will do. As, it wasn't helping me either way.

So, when Monday started, I was thinking things will start off better. Unfortunately, there were 1-2 tests had randomly failed during the nightly run. And of course, people were concerned about it. I have been checking this for now, almost two weeks. I can totally understand their concern.

Now, after spending two more days this week, I am way more exhausted and burnt. I have no words to describe how I have been feeling with this. I hope I will be able to find the root cause soon.

No comments:

Post a Comment