Open the backlog menu properly

pull/6827/head
Oliver Günther 9 years ago
parent c72647c343
commit 813a7fbea7
  1. 2
      features/edit_version_from_menu.feature
  2. 2
      features/step_definitions/_when_steps.rb

@ -64,7 +64,7 @@ Feature: Version Settings
Given I am on the master backlog
When I open the "Sprint 001" backlogs menu
When I click on "Properties"
And I follow "Properties" of the "Sprint 001" backlogs menu
Then I should be on the edit page of the version "Sprint 001"

@ -170,7 +170,7 @@ end
When /^I open the "(.+?)" backlogs(?: )?menu/ do |backlog_name|
sprint = Sprint.find_by(name: backlog_name)
step %{I hover over "#backlog_#{sprint.id} .menu"}
find(:css, "#backlog_#{sprint.id} .menu > div").click
end
When /^I close the "(.+?)" backlogs(?: )?menu/ do |backlog_name|

Loading…
Cancel
Save