We are testing some Watir tests and cucumber using Jenkins but we have run into a problem with inconsistent results. Our build failed because apparently the watir attach popup browser was failing(couldn't find the window with the title we produced).
We double checked this by going into the workspace folder and running cucumber manually inside it compared with running cucumber by starting a build with Jenkins.
The Jenkins build failed with the popups while running cucumber inside the workspace folder didn't fail anything. We are guessing that this is because the browser is headless and thus it has no address bar or title bar? Is this the reason?
If so, is there any way around this? How do we attach a popup from a headless browser?
I am using watir 1.8.1(the main one) and IE8 on windows.