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
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/profile/menu.rb')
-rw-r--r--qa/qa/page/profile/menu.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/qa/qa/page/profile/menu.rb b/qa/qa/page/profile/menu.rb
index e7baaf3d40a..41c350f94ef 100644
--- a/qa/qa/page/profile/menu.rb
+++ b/qa/qa/page/profile/menu.rb
@@ -11,6 +11,7 @@ module QA
element :ssh_keys, 'SSH Keys' # rubocop:disable QA/ElementWithPattern
element :profile_emails_link
element :profile_password_link
+ element :profile_account_link
end
def click_access_tokens
@@ -25,6 +26,12 @@ module QA
end
end
+ def click_account
+ within_sidebar do
+ click_element(:profile_account_link)
+ end
+ end
+
def click_emails
within_sidebar do
click_element(:profile_emails_link)