Added resize of window for local tests.

This commit is contained in:
Martin Edenhofer 2013-06-29 00:23:57 +02:00
parent a4876f9d51
commit 1f61d1f728

View file

@ -25,6 +25,7 @@ class TestCase < Test::Unit::TestCase
end
if !ENV['REMOTE_URL']
local_browser = Selenium::WebDriver.for( browser.to_sym )
local_browser.manage.window.resize_to(1024, 1024)
@browsers.push local_browser
return local_browser
end