add some sleep timers to hopefully fix the travis failures

This commit is contained in:
Reinier Balt 2014-08-13 16:12:31 +02:00
parent 37f5ca01fa
commit 420c80911b
2 changed files with 2 additions and 0 deletions

View file

@ -121,6 +121,7 @@ module TracksStepHelper
expect(page).to have_css(submenu_arrow, :visible=>true)
arrow = page.find(submenu_arrow, :match => :first)
arrow.click
sleep 0.2 # wait for the event to be handled by the browser
submenu_css = "div#line_todo_#{todo.id} ul#ultodo_#{todo.id}"
submenu = page.find(submenu_css)