reduce timeout in selenium script

This commit is contained in:
Reinier Balt 2010-03-08 20:36:33 +01:00
parent ff15b486b1
commit 24d8a2b17f

View file

@ -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