OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/features/step_definitions/modal_steps.rb

12 lines
263 B

When(/^I open the modal window for the story "(.*?)"$/) do |subject|
story = Story.find_by_subject(subject)
within("#story_#{story.id}") do
click_link(story.id)
end
end
When(/^I switch the modal window into edit mode$/) do
click_link("Update")
end