Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorWalmyr Lima <walmyr@gitlab.com>2019-08-30 13:29:06 +0300
committerWalmyr Lima <walmyr@gitlab.com>2019-08-30 20:00:30 +0300
commit5d5ba9fc7cf8f7bcfa0d91bd13390d3f3fc26a17 (patch)
tree43185192fbf23b22060753fab60fae6482ee100a /qa
parent28588add73552bc95b28e07b6ba16043d6bbecd3 (diff)
Update page object with new element and method
Diffstat (limited to 'qa')
-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