summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-10-03 22:37:09 -0700
committerStan Hu <stanhu@gmail.com>2017-10-03 22:37:09 -0700
commite85387d56fc029f585ce9cacb20b46dfd3552307 (patch)
tree64085e3e7f0a20222a2a51acd5959079c4a0f23c
parent5a23af928e52350039f1db8eee97278d34d1f1b0 (diff)
downloadgitlab-ce-sh-fix-gitlab-qa-ee-license-add.tar.gz
Fix GitLab QA: increase window size to ensure License link showssh-fix-gitlab-qa-ee-license-add
-rw-r--r--qa/qa/page/admin/menu.rb2
-rw-r--r--qa/qa/specs/config.rb3
2 files changed, 1 insertions, 4 deletions
diff --git a/qa/qa/page/admin/menu.rb b/qa/qa/page/admin/menu.rb
index f4619042e34..baa06b1c75e 100644
--- a/qa/qa/page/admin/menu.rb
+++ b/qa/qa/page/admin/menu.rb
@@ -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
diff --git a/qa/qa/specs/config.rb b/qa/qa/specs/config.rb
index 4dfdd6cd93c..79c681168cc 100644
--- a/qa/qa/specs/config.rb
+++ b/qa/qa/specs/config.rb
@@ -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]
}
)