Only set location of second window in non ci env.
This commit is contained in:
parent
ccf4566850
commit
74c86cf815
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class TestCase < Test::Unit::TestCase
|
||||||
|
|
||||||
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, 800)
|
||||||
if ENV['REMOTE_URL'] !~ /saucelabs|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)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue