mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 09:40:13 +01:00
reduce timeout in selenium script
This commit is contained in:
parent
ff15b486b1
commit
24d8a2b17f
1 changed files with 1 additions and 1 deletions
|
|
@ -79,5 +79,5 @@ Then /^I should see "([^\"]*)" within the dependencies of "([^\"]*)"$/ do |succe
|
||||||
|
|
||||||
# let selenium look for the presence of the successor
|
# 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"
|
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
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue