Fix GitLab QA: increase window size to ensure License link shows
This commit is contained in:
parent
5a23af928e
commit
e85387d56f
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
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]
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue