replace cuke implementation in js by standard capybara

pull/2627/head
Jens Ulferts 10 years ago
parent fe8e4cbd85
commit 4bf21d6813
  1. 7
      features/step_definitions/timelines_when_steps.rb

@ -106,12 +106,13 @@ When (/^I set the first level grouping criteria to "(.*?)" for the timeline "(.*
end
When (/^I enable the hide other group option$/) do
# it is not possible to use the label for the hide group other field
# because of the " in the label
steps %{
When I edit the settings of the current timeline
And I check "timeline_options_hide_other_group"
And I click on "Save"
}
page.execute_script("jQuery('#timeline_options_hide_other_group').prop('checked', true)")
steps %{When I click on "Save"}
end
When (/^I show only work packages which have the responsible "(.*?)"$/) do |responsible|

Loading…
Cancel
Save