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
2a792f1e
Commit
2a792f1e
authored
Oct 18, 2018
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[QA] Move epic-related method to EE class
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
53b14341
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
ee/app/views/layouts/nav/ee/_epic_link.html.haml
ee/app/views/layouts/nav/ee/_epic_link.html.haml
+1
-1
qa/qa/ee/factory/resource/epic.rb
qa/qa/ee/factory/resource/epic.rb
+2
-2
qa/qa/ee/page/group/menu.rb
qa/qa/ee/page/group/menu.rb
+11
-1
qa/qa/page/project/menu.rb
qa/qa/page/project/menu.rb
+0
-6
No files found.
ee/app/views/layouts/nav/ee/_epic_link.html.haml
View file @
2a792f1e
...
...
@@ -4,7 +4,7 @@
-
epics_items
=
[
'epics#show'
,
'epics#index'
,
'roadmap#show'
]
=
nav_link
(
path:
epics_items
)
do
=
link_to
group_epics_path
(
group
)
do
=
link_to
group_epics_path
(
group
)
,
class:
'qa-group-epics-link'
do
.nav-icon-container
=
sprite_icon
(
'epic'
)
%span
.nav-item-name
...
...
qa/qa/ee/factory/resource/epic.rb
View file @
2a792f1e
...
...
@@ -12,9 +12,9 @@ module QA
def
fabricate!
group
.
visit!
QA
::
Page
::
Project
::
Menu
.
act
{
click
_epics
}
QA
::
EE
::
Page
::
Group
::
Menu
.
perform
{
|
menu
|
menu
.
go_to_group
_epics
}
Page
::
Group
::
Epic
::
Index
.
perform
do
|
page
|
QA
::
EE
::
Page
::
Group
::
Epic
::
Index
.
perform
do
|
page
|
page
.
click_new_epic
page
.
set_title
(
@title
)
page
.
create_new_epic
...
...
qa/qa/ee/page/group/menu.rb
View file @
2a792f1e
...
...
@@ -15,14 +15,24 @@ module QA
element
:group_settings_item
end
view
'ee/app/views/layouts/nav/ee/_epic_link.html.haml'
do
element
:group_epics_link
end
def
go_to_saml_sso_group_settings
hover_settings
do
within_submenu
do
click_element
:group_saml_sso_link
click_element
(
:group_saml_sso_link
)
end
end
end
def
go_to_group_epics
within_sidebar
do
click_element
(
:group_epics_link
)
end
end
private
def
hover_settings
...
...
qa/qa/page/project/menu.rb
View file @
2a792f1e
...
...
@@ -119,12 +119,6 @@ module QA
end
end
def
click_epics
within_sidebar
do
click_link
(
'Epics'
)
end
end
private
def
hover_issues
...
...
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