diff --git a/features/step_definitions/todo_steps.rb b/features/step_definitions/todo_steps.rb index 861b0c29..54fec93c 100644 --- a/features/step_definitions/todo_steps.rb +++ b/features/step_definitions/todo_steps.rb @@ -79,5 +79,5 @@ Then /^I should see "([^\"]*)" within the dependencies of "([^\"]*)"$/ do |succe # let selenium look for the presence of the successor xpath = "xpath=//div[@id='line_todo_#{todo.id}']//div[@id='successor_line_todo_#{successor.id}']//span" - selenium.wait_for_element(xpath) + selenium.wait_for_element(xpath, :timeout_in_seconds => 5) end