Improved error handling.

This commit is contained in:
Martin Edenhofer 2016-06-15 10:52:38 +02:00
parent b8d1972936
commit d2573d0654
2 changed files with 7 additions and 2 deletions

View file

@ -107,8 +107,10 @@ class AutoWizard extends App.WizardFullScreen
return
# login check / get session user
delay = =>
App.Auth.loginCheck()
@navigate '#'
@delay(delay, 800)
return
)

View file

@ -151,6 +151,9 @@ class TestCase < Test::Unit::TestCase
instance.get(params[:url])
end
# submit logs anyway
instance.execute_script('App.Track.force()')
element = instance.find_elements(css: '#login input[name="username"]')[0]
if !element