Commit d071ac92 authored by Stan Hu's avatar Stan Hu

Merge remote-tracking branch 'gitlab-com/master'

parents bd22ebcb ce422ead
...@@ -3,15 +3,10 @@ module QA ...@@ -3,15 +3,10 @@ module QA
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
link.send_keys(:space)
private link.click
def within_middle_menu
page.within('.nav-control') do
yield
end
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