Fix GitLab QA: increase window size to ensure License link shows

This commit is contained in:
Stan Hu 2017-10-03 22:37:09 -07:00
parent 5a23af928e
commit e85387d56f
2 changed files with 1 additions and 4 deletions

View File

@ -4,8 +4,6 @@ module QA
class Menu < Page::Base
def go_to_license
link = find_link 'License'
# Click space to scroll this link into the view
link.send_keys(:space)
link.click
end
end

View File

@ -43,8 +43,7 @@ module QA
Capybara.register_driver :chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
'chromeOptions' => {
'binary' => '/usr/bin/google-chrome-stable',
'args' => %w[headless no-sandbox disable-gpu window-size=1280,1024]
'args' => %w[headless no-sandbox disable-gpu window-size=1280,1680]
}
)