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
0
Merge Requests
0
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
Léo-Paul Géneau
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
Show 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
...
@@ -29,11 +29,9 @@ module QA
element
:fly_out
,
"classList.add('fly-out-list')"
# rubocop:disable QA/ElementWithPattern
element
:fly_out
,
"classList.add('fly-out-list')"
# rubocop:disable QA/ElementWithPattern
end
end
def
click_repository_settings
def
click_ci_cd_pipelines
hover_settings
do
within_sidebar
do
within_submenu
do
click_element
:link_pipelines
click_link
(
'Repository'
)
end
end
end
end
end
...
@@ -45,11 +43,9 @@ module QA
...
@@ -45,11 +43,9 @@ module QA
end
end
end
end
def
click_operations_environments
def
click_issues
hover_operations
do
within_sidebar
do
within_submenu
do
click_link
(
'Issues'
)
click_element
(
:operations_environments_link
)
end
end
end
end
end
...
@@ -61,61 +57,71 @@ module QA
...
@@ -61,61 +57,71 @@ module QA
end
end
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
hover_operations
do
within_submenu
do
within_submenu
do
click_
link
(
'Kubernetes'
)
click_
element
(
:operations_environments_link
)
end
end
end
end
end
end
def
click_ci_cd_pipelines
def
click_operations_kubernetes
within_sidebar
do
hover_operations
do
click_element
:link_pipelines
within_submenu
do
click_link
(
'Kubernetes'
)
end
end
end
end
end
def
go_to_setting
s
def
click_milestone
s
within_sidebar
do
within_sidebar
do
click_
on
'Settings'
click_
element
:milestones_link
end
end
end
end
def
click_
issues
def
click_
repository
within_sidebar
do
within_sidebar
do
click_link
(
'
Issues
'
)
click_link
(
'
Repository
'
)
end
end
end
end
def
go_to_label
s
def
click_repository_setting
s
hover_
issue
s
do
hover_
setting
s
do
within_submenu
do
within_submenu
do
click_
element
(
:labels_link
)
click_
link
(
'Repository'
)
end
end
end
end
end
end
def
click_
merge_requests
def
click_
wiki
within_sidebar
do
within_sidebar
do
click_link
(
'
Merge Requests
'
)
click_link
(
'
Wiki
'
)
end
end
end
end
def
click_milestones
def
go_to_activity
within_sidebar
do
within_sidebar
do
click_
element
:milestones_link
click_
on
'Activity'
end
end
end
end
def
click_wiki
def
go_to_labels
within_sidebar
do
hover_issues
do
click_link
(
'Wiki'
)
within_submenu
do
click_element
(
:labels_link
)
end
end
end
end
end
def
click_repository
def
go_to_settings
within_sidebar
do
within_sidebar
do
click_
link
(
'Repository'
)
click_
on
'Settings'
end
end
end
end
...
@@ -129,17 +135,17 @@ module QA
...
@@ -129,17 +135,17 @@ module QA
end
end
end
end
def
hover_
setting
s
def
hover_
operation
s
within_sidebar
do
within_sidebar
do
find
(
'.
qa-settings-item
'
).
hover
find
(
'.
shortcuts-operations
'
).
hover
yield
yield
end
end
end
end
def
hover_
operation
s
def
hover_
setting
s
within_sidebar
do
within_sidebar
do
find
(
'.
shortcuts-operations
'
).
hover
find
(
'.
qa-settings-item
'
).
hover
yield
yield
end
end
...
@@ -151,12 +157,6 @@ module QA
...
@@ -151,12 +157,6 @@ module QA
end
end
end
end
def
go_to_activity
within_sidebar
do
click_on
'Activity'
end
end
def
within_submenu
def
within_submenu
page
.
within
(
'.fly-out-list'
)
do
page
.
within
(
'.fly-out-list'
)
do
yield
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