Browse Source

Fixed legacy test.

Martin Gruner 3 years ago
parent
commit
b68cf4b68d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/browser_test_helper.rb

+ 1 - 1
test/browser_test_helper.rb

@@ -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]