summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-19 10:51:19 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-09-19 10:51:19 +0200
commit3fdd52bcd18a872267114d5d7a1c40d16fa32335 (patch)
tree953c534510eca1855a2bca2a21b4956b55a0a3df /qa
parent1f4911541d03a257c38a63c6aa36a1c7ca4c3b43 (diff)
downloadgitlab-ce-3fdd52bcd18a872267114d5d7a1c40d16fa32335.tar.gz
Fix admin area selector in GitLab QA
Fixes gitlab-org/gitlab-qa#66
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/main/menu.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/main/menu.rb b/qa/qa/page/main/menu.rb
index 74e53d86266..178c5ea6930 100644
--- a/qa/qa/page/main/menu.rb
+++ b/qa/qa/page/main/menu.rb
@@ -11,7 +11,7 @@ module QA
end
def go_to_admin_area
- within_top_menu { click_link 'Admin area' }
+ within_top_menu { find('.admin-icon').click }
end
def sign_out