Fixed ff click on js-textarea issue on ticket update.

This commit is contained in:
Martin Edenhofer 2016-03-21 14:39:18 +01:00
parent 5e11344fb9
commit 21817abab6

View file

@ -542,6 +542,8 @@ class TestCase < Test::Unit::TestCase
dropdown.select_by(:text, params[:value]) dropdown.select_by(:text, params[:value])
puts "select - #{params.inspect}" puts "select - #{params.inspect}"
rescue rescue
sleep 0.5
# just try again # just try again
element = instance.find_elements(css: params[:css])[0] element = instance.find_elements(css: params[:css])[0]
dropdown = Selenium::WebDriver::Support::Select.new(element) dropdown = Selenium::WebDriver::Support::Select.new(element)
@ -1725,6 +1727,7 @@ wait untill text in selector disabppears
browser: instance, browser: instance,
css: '.content.active div[data-name=body]', css: '.content.active div[data-name=body]',
value: data[:body], value: data[:body],
no_click: true,
mute_log: true, mute_log: true,
) )