From 24d8a2b17f861906b48adf9f78ebb94e8be0a071 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 8 Mar 2010 20:36:33 +0100 Subject: [PATCH] reduce timeout in selenium script --- features/step_definitions/todo_steps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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