Reduced window height for win environments.

This commit is contained in:
Martin Edenhofer 2015-05-13 20:48:06 +02:00
parent 517d01d982
commit 7d6b6d02a4

View file

@ -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, 800) local_browser.manage.window.resize_to(1024, 760)
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)