Commit 0781e956 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Merge branch 'sh-fix-gitlab-qa-admin' into 'master'

Fix Admin -> License selector for GitLab QA specs

Closes gitlab-qa#68

See merge request gitlab-org/gitlab-ce!14599
...@@ -3,15 +3,10 @@ module Page ...@@ -3,15 +3,10 @@ module Page
module Admin module Admin
class Menu < Page::Base class Menu < Page::Base
def go_to_license def go_to_license
within_middle_menu { click_link 'License' } link = find_link 'License'
end # Click space to scroll this link into the view
def within_middle_menu
page.within('.nav-control') do
end end
end end
end end
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