Only set location of second window in non ci env.

This commit is contained in:
Martin Edenhofer 2015-05-03 15:44:58 +02:00
parent e8d7dc2954
commit ccf4566850

View file

@ -56,7 +56,7 @@ class TestCase < Test::Unit::TestCase
def browser_instance_preferences(local_browser)
local_browser.manage.window.resize_to(1024, 800)
if ENV['REMOTE_URL'] !~ /saucelabs/i
if ENV['REMOTE_URL'] !~ /saucelabs|ci\.(zammad\.org|znuny\.com)/i
if @browsers.size < 1
local_browser.manage.window.move_to(0, 0)
else