Improved error handling.
This commit is contained in:
parent
b8d1972936
commit
d2573d0654
2 changed files with 7 additions and 2 deletions
|
@ -107,8 +107,10 @@ class AutoWizard extends App.WizardFullScreen
|
|||
return
|
||||
|
||||
# login check / get session user
|
||||
App.Auth.loginCheck()
|
||||
@navigate '#'
|
||||
delay = =>
|
||||
App.Auth.loginCheck()
|
||||
@navigate '#'
|
||||
@delay(delay, 800)
|
||||
return
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue