diff --git a/awx/ui_next/src/screens/Template/JobTemplateAdd/JobTemplateAdd.test.jsx b/awx/ui_next/src/screens/Template/JobTemplateAdd/JobTemplateAdd.test.jsx
index 508b85de82..748b71dbcf 100644
--- a/awx/ui_next/src/screens/Template/JobTemplateAdd/JobTemplateAdd.test.jsx
+++ b/awx/ui_next/src/screens/Template/JobTemplateAdd/JobTemplateAdd.test.jsx
@@ -8,25 +8,26 @@ import { JobTemplatesAPI, LabelsAPI } from '@api';
jest.mock('@api');
const jobTemplateData = {
- name: 'Foo',
- description: 'Baz',
- job_type: 'run',
- inventory: 1,
- project: 2,
- playbook: 'Bar',
- forks: 0,
- limit: '',
- verbosity: '0',
- job_slice_count: 1,
- timeout: 0,
- job_tags: '',
- skip_tags: '',
- diff_mode: false,
allow_callbacks: false,
allow_simultaneous: false,
- use_fact_cache: false,
+ ask_job_type_on_launch: false,
+ description: 'Baz',
+ diff_mode: false,
+ forks: 0,
host_config_key: '',
+ inventory: 1,
+ job_slice_count: 1,
+ job_tags: '',
+ job_type: 'run',
+ limit: '',
+ name: 'Foo',
+ playbook: 'Bar',
+ project: 2,
scm_branch: '',
+ skip_tags: '',
+ timeout: 0,
+ use_fact_cache: false,
+ verbosity: '0',
};
describe('', () => {
diff --git a/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.jsx b/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.jsx
index d00cc655a0..8798249169 100644
--- a/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.jsx
+++ b/awx/ui_next/src/screens/Template/JobTemplateEdit/JobTemplateEdit.test.jsx
@@ -9,27 +9,24 @@ import JobTemplateEdit from './JobTemplateEdit';
jest.mock('@api');
const mockJobTemplate = {
- id: 1,
- name: 'Foo',
- description: 'Bar',
- job_type: 'run',
- inventory: 2,
- project: 3,
- playbook: 'Baz',
- type: 'job_template',
- forks: 0,
- limit: '',
- verbosity: '0',
- job_slice_count: 1,
- timeout: 0,
- job_tags: '',
- skip_tags: '',
- diff_mode: false,
allow_callbacks: false,
allow_simultaneous: false,
- use_fact_cache: false,
+ ask_job_type_on_launch: false,
+ description: 'Bar',
+ diff_mode: false,
+ forks: 0,
host_config_key: '',
+ id: 1,
+ inventory: 2,
+ job_slice_count: 1,
+ job_tags: '',
+ job_type: 'run',
+ limit: '',
+ name: 'Foo',
+ playbook: 'Baz',
+ project: 3,
scm_branch: '',
+ skip_tags: '',
summary_fields: {
user_capabilities: {
edit: true,
@@ -50,6 +47,10 @@ const mockJobTemplate = {
name: 'Boo',
},
},
+ timeout: 0,
+ type: 'job_template',
+ use_fact_cache: false,
+ verbosity: '0',
};
const mockRelatedCredentials = {
diff --git a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx
index 5f48522dfb..1e3dd2caed 100644
--- a/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx
+++ b/awx/ui_next/src/screens/Template/shared/JobTemplateForm.jsx
@@ -230,10 +230,14 @@ class JobTemplateForm extends Component {
/>