From 21817abab61fed252c520a619faac71c5186202c Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 21 Mar 2016 14:39:18 +0100 Subject: [PATCH] Fixed ff click on js-textarea issue on ticket update. --- test/browser_test_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index b4ae1e54a..157774743 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -542,6 +542,8 @@ class TestCase < Test::Unit::TestCase dropdown.select_by(:text, params[:value]) puts "select - #{params.inspect}" rescue + sleep 0.5 + # just try again element = instance.find_elements(css: params[:css])[0] dropdown = Selenium::WebDriver::Support::Select.new(element) @@ -1725,6 +1727,7 @@ wait untill text in selector disabppears browser: instance, css: '.content.active div[data-name=body]', value: data[:body], + no_click: true, mute_log: true, )