Commit c1ea58bc authored by Simon Knox's avatar Simon Knox

Update description inline when editing iteration

Previously this required page refresh as we weren't
getting descriptionHtml in the update query response
parent 9714640d
......@@ -3,6 +3,7 @@ mutation createIteration($input: CreateIterationInput!) {
iteration {
title
description
descriptionHtml
startDate
dueDate
webUrl
......
......@@ -4,6 +4,7 @@ mutation updateIteration($input: UpdateIterationInput!) {
id
title
description
descriptionHtml
startDate
dueDate
}
......
---
title: Update description when editing iteration
merge_request: 40476
author:
type: fixed
......@@ -46,6 +46,7 @@ RSpec.describe 'User views iteration' do
aggregate_failures do
expect(page).to have_content(updated_title)
expect(page).to have_content(updated_desc)
expect(page).to have_content(updated_start_date.strftime('%b %-d, %Y'))
expect(page).to have_content(updated_due_date.strftime('%b %-d, %Y'))
expect(page).to have_current_path(group_iteration_path(group, iteration))
......
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