mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user