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
75ee06e7
Commit
75ee06e7
authored
Aug 11, 2021
by
Simon Knox
Committed by
Natalia Tepluhina
Aug 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix summary stats on iteration report
parent
fd05a579
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ee/app/assets/javascripts/burndown_chart/graphql/iteration_issues_summary.query.graphql
...down_chart/graphql/iteration_issues_summary.query.graphql
+2
-0
ee/spec/features/groups/iterations/user_views_iteration_spec.rb
...c/features/groups/iterations/user_views_iteration_spec.rb
+3
-3
No files found.
ee/app/assets/javascripts/burndown_chart/graphql/iteration_issues_summary.query.graphql
View file @
75ee06e7
...
...
@@ -5,6 +5,7 @@ query IterationIssuesSummary(
$weight
:
Boolean
=
false
)
{
group
(
fullPath
:
$fullPath
)
@include
(
if
:
$isGroup
)
{
id
openIssues
:
issues
(
iterationId
:
[
$id
]
state
:
opened
...
...
@@ -29,6 +30,7 @@ query IterationIssuesSummary(
}
}
project
(
fullPath
:
$fullPath
)
@skip
(
if
:
$isGroup
)
{
id
openIssues
:
issues
(
iterationId
:
[
$id
],
state
:
opened
,
assigneeId
:
"none"
)
{
count
@skip
(
if
:
$weight
)
weight
@include
(
if
:
$weight
)
...
...
ee/spec/features/groups/iterations/user_views_iteration_spec.rb
View file @
75ee06e7
...
...
@@ -47,9 +47,9 @@ RSpec.describe 'User views iteration' do
end
aggregate_failures
'expect summary information'
do
expect
(
page
).
to
have_content
(
"Completed"
)
expect
(
page
).
to
have_content
(
"Incomplete"
)
expect
(
page
).
to
have_content
(
"Unstarted"
)
expect
(
page
).
to
have_content
(
"Completed
25%
"
)
expect
(
page
).
to
have_content
(
"Incomplete
25%
"
)
expect
(
page
).
to
have_content
(
"Unstarted
50%
"
)
end
aggregate_failures
'expect burnup and burndown charts'
do
...
...
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