Commit 75ee06e7 authored by Simon Knox's avatar Simon Knox Committed by Natalia Tepluhina

Fix summary stats on iteration report

parent fd05a579
......@@ -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)
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment