Improved timing.
This commit is contained in:
parent
0c2f705362
commit
3720aeeea4
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ class TestCase < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def browser_instance_preferences(local_browser)
|
def browser_instance_preferences(local_browser)
|
||||||
local_browser.manage.window.resize_to(1024, 760)
|
local_browser.manage.window.resize_to(1024, 800)
|
||||||
if ENV['REMOTE_URL'] !~ /saucelabs|(grid|ci)\.(zammad\.org|znuny\.com)/i
|
if ENV['REMOTE_URL'] !~ /saucelabs|(grid|ci)\.(zammad\.org|znuny\.com)/i
|
||||||
if @browsers.size < 1
|
if @browsers.size < 1
|
||||||
local_browser.manage.window.move_to(0, 0)
|
local_browser.manage.window.move_to(0, 0)
|
||||||
|
@ -1068,7 +1068,7 @@ wait untill text in selector disabppears
|
||||||
assert( true, 'ticket created without submit' )
|
assert( true, 'ticket created without submit' )
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
sleep 0.8
|
sleep 1.6
|
||||||
#instance.execute_script( '$(".content.active .newTicket form").submit();' )
|
#instance.execute_script( '$(".content.active .newTicket form").submit();' )
|
||||||
instance.find_elements( { css: '.active .newTicket button.submit' } )[0].click
|
instance.find_elements( { css: '.active .newTicket button.submit' } )[0].click
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in a new issue