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
9d007575
Commit
9d007575
authored
Apr 19, 2022
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix iteration cadence read query variable
parent
43f1a6ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
ee/app/assets/javascripts/iterations/components/iteration_cadence_form.vue
...ascripts/iterations/components/iteration_cadence_form.vue
+1
-1
ee/spec/frontend/iterations/components/iteration_cadence_form_spec.js
...tend/iterations/components/iteration_cadence_form_spec.js
+7
-0
No files found.
ee/app/assets/javascripts/iterations/components/iteration_cadence_form.vue
View file @
9d007575
...
...
@@ -168,7 +168,7 @@ export default {
variables
()
{
return
{
fullPath
:
this
.
fullPath
,
cadenceI
d
:
convertToGraphQLId
(
TYPE_ITERATIONS_CADENCE
,
this
.
cadenceId
),
i
d
:
convertToGraphQLId
(
TYPE_ITERATIONS_CADENCE
,
this
.
cadenceId
),
};
},
result
({
data
:
{
group
,
errors
},
error
})
{
...
...
ee/spec/frontend/iterations/components/iteration_cadence_form_spec.js
View file @
9d007575
...
...
@@ -244,6 +244,13 @@ describe('Iteration cadence form', () => {
expect
(
wrapper
.
text
()).
toContain
(
wrapper
.
vm
.
i18n
.
edit
.
save
);
});
it
(
'
triggers read query with correct variables
'
,
()
=>
{
expect
(
resolverMock
).
toHaveBeenCalledWith
({
fullPath
:
groupPath
,
id
:
automaticIterationCadence
.
id
,
});
});
it
(
'
disables fields while loading
'
,
async
()
=>
{
createComponent
({
query
,
resolverMock
});
...
...
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