Added resize of window for local tests.
This commit is contained in:
parent
a4876f9d51
commit
1f61d1f728
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ class TestCase < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
if !ENV['REMOTE_URL']
|
if !ENV['REMOTE_URL']
|
||||||
local_browser = Selenium::WebDriver.for( browser.to_sym )
|
local_browser = Selenium::WebDriver.for( browser.to_sym )
|
||||||
|
local_browser.manage.window.resize_to(1024, 1024)
|
||||||
@browsers.push local_browser
|
@browsers.push local_browser
|
||||||
return local_browser
|
return local_browser
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue