summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalmyr Lima <walmyr@gitlab.com>2019-08-30 12:29:06 +0200
committerWalmyr Lima <walmyr@gitlab.com>2019-08-30 19:00:30 +0200
commit5d5ba9fc7cf8f7bcfa0d91bd13390d3f3fc26a17 (patch)
tree43185192fbf23b22060753fab60fae6482ee100a
parent28588add73552bc95b28e07b6ba16043d6bbecd3 (diff)
downloadgitlab-ce-5d5ba9fc7cf8f7bcfa0d91bd13390d3f3fc26a17.tar.gz
Update page object with new element and method
-rw-r--r--qa/qa/page/admin/menu.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/qa/qa/page/admin/menu.rb b/qa/qa/page/admin/menu.rb
index 7c214da8486..5a18ebd7af8 100644
--- a/qa/qa/page/admin/menu.rb
+++ b/qa/qa/page/admin/menu.rb
@@ -11,12 +11,21 @@ module QA
element :admin_settings_repository_item
element :admin_settings_general_item
element :admin_settings_metrics_and_profiling_item
+ element :admin_settings_preferences_link
end
view 'app/views/layouts/nav/sidebar/_admin.html.haml' do
element :integration_settings_link
end
+ def go_to_preferences_settings
+ hover_settings do
+ within_submenu do
+ click_element :admin_settings_preferences_link
+ end
+ end
+ end
+
def go_to_repository_settings
hover_settings do
within_submenu do