Fixed ff click on js-textarea issue on ticket update.
This commit is contained in:
parent
5e11344fb9
commit
21817abab6
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue