From b68cf4b68d0119c0e00c4a707af2d6b2b375c8fd Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Tue, 19 Oct 2021 13:33:44 +0200 Subject: [PATCH] Fixed legacy test. --- test/browser_test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 02c77165f..63639e8ba 100644 --- a/test/browser_test_helper.rb +++ b/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]