From dae84cac70e90458f26c8236d915f2fa2cb1fcc9 Mon Sep 17 00:00:00 2001 From: Christian Rijke Date: Thu, 18 Jul 2013 17:06:48 +0200 Subject: [PATCH] Set "visible: false" in page find because the default setting for capybara has been changed. --- features/step_definitions/_when_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/step_definitions/_when_steps.rb b/features/step_definitions/_when_steps.rb index 26fd72722f..5307d3bd17 100644 --- a/features/step_definitions/_when_steps.rb +++ b/features/step_definitions/_when_steps.rb @@ -168,7 +168,7 @@ When /^I fill in the id of the issue "(.+?)" as the parent issue$/ do |issue_nam issue = Issue.find_by_subject(issue_name) # simplify once the work_package#edit/update action is implemented - find('#work_package_parent_issue_id, #issue_parent_issue_id').set(issue.id) + find('#work_package_parent_issue_id, #issue_parent_issue_id', visible: false).set(issue.id) #step %Q{I fill in "#{issue.id}" for "work_package_parent_issue_id"} end