Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b59d8e9b
Commit
b59d8e9b
authored
Oct 16, 2018
by
Ash McKenzie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add EE Page::Profile::Menu helper module
parent
7a2396a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
qa/qa/ee.rb
qa/qa/ee.rb
+4
-0
qa/qa/ee/page/profile/menu.rb
qa/qa/ee/page/profile/menu.rb
+15
-0
qa/qa/page/profile/menu.rb
qa/qa/page/profile/menu.rb
+2
-0
No files found.
qa/qa/ee.rb
View file @
b59d8e9b
...
...
@@ -39,6 +39,10 @@ module QA
end
end
module
Profile
autoload
:Menu
,
'qa/ee/page/profile/menu'
end
module
Project
autoload
:Show
,
'qa/ee/page/project/show'
...
...
qa/qa/ee/page/profile/menu.rb
0 → 100644
View file @
b59d8e9b
# frozen_string_literal: true
module
QA
module
EE
module
Page
module
Profile
module
Menu
def
wait_for_key_to_replicate
(
text
,
max_wait:
Runtime
::
Geo
.
max_file_replication_time
)
wait
(
max:
max_wait
)
{
page
.
has_text?
(
text
)
}
end
end
end
end
end
end
qa/qa/page/profile/menu.rb
View file @
b59d8e9b
...
...
@@ -4,6 +4,8 @@ module QA
module
Page
module
Profile
class
Menu
<
Page
::
Base
prepend
QA
::
EE
::
Page
::
Profile
::
Menu
view
'app/views/layouts/nav/sidebar/_profile.html.haml'
do
element
:access_token_link
,
'link_to profile_personal_access_tokens_path'
# rubocop:disable QA/ElementWithPattern
element
:access_token_title
,
'Access Tokens'
# rubocop:disable QA/ElementWithPattern
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment