Commit e518b3e2 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'sh-fix-gitlab-qa-ee-license-add' into 'master'

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

See merge request gitlab-org/gitlab-ce!14674
parents 5a23af92 e85387d5
...@@ -4,8 +4,6 @@ module QA ...@@ -4,8 +4,6 @@ module QA
class Menu < Page::Base class Menu < Page::Base
def go_to_license def go_to_license
link = find_link 'License' link = find_link 'License'
# Click space to scroll this link into the view
link.send_keys(:space)
link.click link.click
end end
end end
......
...@@ -43,8 +43,7 @@ module QA ...@@ -43,8 +43,7 @@ module QA
Capybara.register_driver :chrome do |app| Capybara.register_driver :chrome do |app|
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome( capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
'chromeOptions' => { 'chromeOptions' => {
'binary' => '/usr/bin/google-chrome-stable', 'args' => %w[headless no-sandbox disable-gpu window-size=1280,1680]
'args' => %w[headless no-sandbox disable-gpu window-size=1280,1024]
} }
) )
......
Markdown is supported
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