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
6f5e9155
Commit
6f5e9155
authored
Oct 09, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 'QA::Page::Project::Milestone::Show' which wasn't used
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
aa175994
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
28 deletions
+9
-28
qa/qa.rb
qa/qa.rb
+0
-1
qa/qa/ee/page/project/milestone/show.rb
qa/qa/ee/page/project/milestone/show.rb
+7
-11
qa/qa/page/project/milestone/show.rb
qa/qa/page/project/milestone/show.rb
+0
-14
qa/qa/specs/features/ee/browser_ui/2_plan/burndown_chart/burndown_chart_spec.rb
...e/browser_ui/2_plan/burndown_chart/burndown_chart_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/2_plan/issues_weight/issue_weight_visualization_spec.rb
...i/2_plan/issues_weight/issue_weight_visualization_spec.rb
+1
-1
No files found.
qa/qa.rb
View file @
6f5e9155
...
...
@@ -259,7 +259,6 @@ module QA
module
Milestone
autoload
:New
,
'qa/page/project/milestone/new'
autoload
:Index
,
'qa/page/project/milestone/index'
autoload
:Show
,
'qa/page/project/milestone/show'
end
module
Operations
...
...
qa/qa/ee/page/project/milestone/show.rb
View file @
6f5e9155
...
...
@@ -5,9 +5,7 @@ module QA
module
Page
module
Project
module
Milestone
module
Show
def
self
.
prepended
(
page
)
page
.
module_eval
do
class
Show
<
::
QA
::
Page
::
Base
view
'ee/app/views/shared/milestones/_burndown.html.haml'
do
element
:burndown_chart
element
:weight_button
...
...
@@ -16,8 +14,6 @@ module QA
view
'ee/app/views/shared/milestones/_weight.html.haml'
do
element
:total_issue_weight_value
end
end
end
def
click_weight_button
click_element
(
:weight_button
)
...
...
qa/qa/page/project/milestone/show.rb
deleted
100644 → 0
View file @
aa175994
# frozen_string_literal: true
module
QA
module
Page
module
Project
module
Milestone
class
Show
<
Page
::
Base
end
end
end
end
end
QA
::
Page
::
Project
::
Milestone
::
Show
.
prepend_if_ee
(
'QA::EE::Page::Project::Milestone::Show'
)
qa/qa/specs/features/ee/browser_ui/2_plan/burndown_chart/burndown_chart_spec.rb
View file @
6f5e9155
...
...
@@ -33,7 +33,7 @@ module QA
it
'shows burndown chart on milestone page'
do
milestone
.
visit!
Page
::
Project
::
Milestone
::
Show
.
perform
do
|
show
|
QA
::
EE
::
Page
::
Project
::
Milestone
::
Show
.
perform
do
|
show
|
expect
(
show
.
burndown_chart
).
to
be_visible
expect
(
show
.
burndown_chart
).
to
have_content
(
"Open issues"
)
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/issues_weight/issue_weight_visualization_spec.rb
View file @
6f5e9155
...
...
@@ -41,7 +41,7 @@ module QA
show
.
click_milestone_link
end
Page
::
Project
::
Milestone
::
Show
.
perform
do
|
show
|
QA
::
EE
::
Page
::
Project
::
Milestone
::
Show
.
perform
do
|
show
|
expect
(
show
.
total_issue_weight_value
).
to
have_content
(
weight
)
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