Improved test helper.

This commit is contained in:
Martin Edenhofer 2015-10-09 00:08:54 +02:00
parent eb75b79c69
commit 439b6cea8a

View file

@ -1242,7 +1242,9 @@ wait untill text in selector disabppears
# click on click catcher # click on click catcher
if params[:do_not_submit] if params[:do_not_submit]
click( browser: instance, css: '.clickCatcher') if instance.find_elements( { css: '.clickCatcher' } )[0]
click( browser: instance, css: '.clickCatcher')
end
end end
end end