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>
pull/2627/head
Florian Kraft 10 years ago
parent 270ecc518b
commit ab4952f890
No known key found for this signature in database
GPG Key ID: 786CD08D94605A9E
  1. 4
      features/step_definitions/general_steps.rb

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

Loading…
Cancel
Save