Only set location of second window in non ci env.
This commit is contained in:
parent
e8d7dc2954
commit
ccf4566850
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/i
|
if ENV['REMOTE_URL'] !~ /saucelabs|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