Commit e414c53d authored by Mikaël Salson's avatar Mikaël Salson
Browse files

test_browser.rb: resize window so that we always test in the same conditions

On a local install and on a test server or in headless mode the default
window size may change which may cause different behaviours.
parent a5b7cb26
...@@ -46,6 +46,7 @@ class Browser < MiniTest::Test ...@@ -46,6 +46,7 @@ class Browser < MiniTest::Test
$b = VidjilBrowser.new :firefox $b = VidjilBrowser.new :firefox
#$b = VidjilBrowser.new :chrome #$b = VidjilBrowser.new :chrome
$b.window.resize_to(1500, 800)
$b.goto index_path $b.goto index_path
# check that the browser loaded correctly # check that the browser loaded correctly
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment