Fixed legacy test.

This commit is contained in:
Martin Gruner 2021-10-19 13:33:44 +02:00 committed by Dominik Klein
parent bcc0540f41
commit b68cf4b68d

View file

@ -3671,7 +3671,7 @@ wait untill text in selector disabppears
element.send_keys(data[:name])
element = instance.find_elements(css: '.modal select[name="email_address_id"]')[0]
dropdown = Selenium::WebDriver::Support::Select.new(element)
dropdown.select_by(:index, 1)
dropdown.select_by(:value, '1')
# dropdown.select_by(:text, action[:group])
if data[:signature]
element = instance.find_elements(css: '.modal select[name="signature_id"]')[0]