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
7aeddde1
Commit
7aeddde1
authored
Dec 07, 2018
by
Mark Lapierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Method go_to_activity isn't private
Also order methods alphabetically
parent
a1d9a3c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
41 deletions
+41
-41
qa/qa/page/project/menu.rb
qa/qa/page/project/menu.rb
+41
-41
No files found.
qa/qa/page/project/menu.rb
View file @
7aeddde1
...
...
@@ -29,11 +29,9 @@ module QA
element
:fly_out
,
"classList.add('fly-out-list')"
# rubocop:disable QA/ElementWithPattern
end
def
click_repository_settings
hover_settings
do
within_submenu
do
click_link
(
'Repository'
)
end
def
click_ci_cd_pipelines
within_sidebar
do
click_element
:link_pipelines
end
end
...
...
@@ -45,11 +43,9 @@ module QA
end
end
def
click_operations_environments
hover_operations
do
within_submenu
do
click_element
(
:operations_environments_link
)
end
def
click_issues
within_sidebar
do
click_link
(
'Issues'
)
end
end
...
...
@@ -61,61 +57,71 @@ module QA
end
end
def
click_operations_kubernetes
def
click_merge_requests
within_sidebar
do
click_link
(
'Merge Requests'
)
end
end
def
click_operations_environments
hover_operations
do
within_submenu
do
click_
link
(
'Kubernetes'
)
click_
element
(
:operations_environments_link
)
end
end
end
def
click_ci_cd_pipelines
within_sidebar
do
click_element
:link_pipelines
def
click_operations_kubernetes
hover_operations
do
within_submenu
do
click_link
(
'Kubernetes'
)
end
end
end
def
go_to_setting
s
def
click_milestone
s
within_sidebar
do
click_
on
'Settings'
click_
element
:milestones_link
end
end
def
click_
issues
def
click_
repository
within_sidebar
do
click_link
(
'
Issues
'
)
click_link
(
'
Repository
'
)
end
end
def
go_to_label
s
hover_
issue
s
do
def
click_repository_setting
s
hover_
setting
s
do
within_submenu
do
click_
element
(
:labels_link
)
click_
link
(
'Repository'
)
end
end
end
def
click_
merge_requests
def
click_
wiki
within_sidebar
do
click_link
(
'
Merge Requests
'
)
click_link
(
'
Wiki
'
)
end
end
def
click_milestones
def
go_to_activity
within_sidebar
do
click_
element
:milestones_link
click_
on
'Activity'
end
end
def
click_wiki
within_sidebar
do
click_link
(
'Wiki'
)
def
go_to_labels
hover_issues
do
within_submenu
do
click_element
(
:labels_link
)
end
end
end
def
click_repository
def
go_to_settings
within_sidebar
do
click_
link
(
'Repository'
)
click_
on
'Settings'
end
end
...
...
@@ -129,17 +135,17 @@ module QA
end
end
def
hover_
setting
s
def
hover_
operation
s
within_sidebar
do
find
(
'.
qa-settings-item
'
).
hover
find
(
'.
shortcuts-operations
'
).
hover
yield
end
end
def
hover_
operation
s
def
hover_
setting
s
within_sidebar
do
find
(
'.
shortcuts-operations
'
).
hover
find
(
'.
qa-settings-item
'
).
hover
yield
end
...
...
@@ -151,12 +157,6 @@ module QA
end
end
def
go_to_activity
within_sidebar
do
click_on
'Activity'
end
end
def
within_submenu
page
.
within
(
'.fly-out-list'
)
do
yield
...
...
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