From ccf45668506408e98bd74688019f6e9dd63310cc Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 3 May 2015 15:44:58 +0200 Subject: [PATCH] Only set location of second window in non ci env. --- test/browser_test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 56f029278..9bc498aab 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -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