fix a failing feature for openproject-costs

It should fix a failing feature on openproject costs by correctly
selecting the ui select box

Signed-off-by: Florian Kraft <f.kraft@finn.de>
This commit is contained in:
Florian Kraft
2015-02-26 13:53:03 +01:00
parent 270ecc518b
commit ab4952f890
+2 -2
View File
@@ -272,11 +272,11 @@ Given /^I select to see [cC]olumn(?:s)?$/ do |table|
end
result.each do |column_name|
within('#s2id_selected_columns_new') do
within('.ng-modal-inner') do
find('input.select2-input').click
end
s2_result = find('ul.select2-results li', text: column_name)
s2_result = find('ul.select2-result-single li', text: column_name)
s2_result.click
end
end