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
f7d9904d
Commit
f7d9904d
authored
Aug 08, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create end-to-end test for roadmap feature
parent
2b5c656f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
qa/qa/specs/features/ee/browser_ui/2_plan/epic/roadmap_spec.rb
.../specs/features/ee/browser_ui/2_plan/epic/roadmap_spec.rb
+35
-0
No files found.
qa/qa/specs/features/ee/browser_ui/2_plan/epic/roadmap_spec.rb
0 → 100644
View file @
f7d9904d
# frozen_string_literal: true
module
QA
# https://gitlab.com/gitlab-org/gitlab-ee/issues/13360
context
'Plan'
,
:quarantine
do
describe
'Epics roadmap'
do
let
(
:epic
)
do
EE
::
Resource
::
Epic
.
fabricate_via_api!
do
|
epic
|
current_date
=
DateTime
.
now
current_date_yyyy_mm_dd
=
current_date
.
strftime
(
"%Y/%m/%d"
)
next_month_date_yyyy_mm_dd
=
current_date
.
next_month
.
strftime
(
"%Y/%m/%d"
)
epic
.
title
=
'Epic created via API to test roadmap'
epic
.
start_date_is_fixed
=
true
epic
.
start_date_fixed
=
current_date_yyyy_mm_dd
epic
.
due_date_is_fixed
=
true
epic
.
due_date_fixed
=
next_month_date_yyyy_mm_dd
end
end
before
do
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
it
'presents epic on roadmap'
do
page
.
visit
(
"
#{
epic
.
group
.
web_url
}
/-/roadmap"
)
EE
::
Page
::
Group
::
Roadmap
.
perform
do
|
roadmap
|
expect
(
roadmap
.
epic_present?
(
epic
)).
to
be_truthy
end
end
end
end
end
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