Expand Chrome window size to make specs pass

This commit is contained in:
Stan Hu 2017-08-11 22:01:00 -07:00
parent 4b5483321a
commit a5e096ceaa
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ Capybara.javascript_driver = :chrome
Capybara.register_driver :chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
'chromeOptions' => {
'args' => %w[headless no-sandbox disable-gpu]
'args' => %w[headless no-sandbox disable-gpu --window-size=1240,1400]
}
)