Improved test helper.
This commit is contained in:
parent
eb75b79c69
commit
439b6cea8a
1 changed files with 3 additions and 1 deletions
|
@ -1242,9 +1242,11 @@ wait untill text in selector disabppears
|
||||||
|
|
||||||
# click on click catcher
|
# click on click catcher
|
||||||
if params[:do_not_submit]
|
if params[:do_not_submit]
|
||||||
|
if instance.find_elements( { css: '.clickCatcher' } )[0]
|
||||||
click( browser: instance, css: '.clickCatcher')
|
click( browser: instance, css: '.clickCatcher')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if data[:group]
|
if data[:group]
|
||||||
element = instance.find_elements( { css: '.active .sidebar select[name="group_id"]' } )[0]
|
element = instance.find_elements( { css: '.active .sidebar select[name="group_id"]' } )[0]
|
||||||
|
|
Loading…
Reference in a new issue