From eb75b79c6984332f7e16f41142e4b748e46f9e2a Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 8 Oct 2015 17:25:19 +0200 Subject: [PATCH] Improved ticket_update. Remove clickCatcher on do_not_submit. --- test/browser_test_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 0c08b5b6f..7d55b395d 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -1240,6 +1240,10 @@ wait untill text in selector disabppears instance.execute_script( "$('.content.active div[data-name=body]').html('#{body_quoted}').trigger('focusout')" ) end + # click on click catcher + if params[:do_not_submit] + click( browser: instance, css: '.clickCatcher') + end end if data[:group]