Commit e85387d5 authored by Stan Hu's avatar Stan Hu

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

parent 5a23af92
No related merge requests found
...@@ -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