diff --git a/awx/ui_next/src/components/AddRole/SelectResourceStep.test.jsx b/awx/ui_next/src/components/AddRole/SelectResourceStep.test.jsx index f9247b3b0a..1bc0e7a2c9 100644 --- a/awx/ui_next/src/components/AddRole/SelectResourceStep.test.jsx +++ b/awx/ui_next/src/components/AddRole/SelectResourceStep.test.jsx @@ -77,7 +77,7 @@ describe('', () => { '/organizations/1/access?resource.page=1&resource.order_by=-username', ], }); - const wrapper = await mountWithContexts( + const wrapper = mountWithContexts( ', () => { initialEntries: ['/templates/workflow_job_template/add'], }); await act(async () => { - wrapper = await mountWithContexts( + wrapper = mountWithContexts( } diff --git a/awx/ui_next/src/screens/Template/WorkflowJobTemplateDetail/WorkflowJobTemplateDetail.test.jsx b/awx/ui_next/src/screens/Template/WorkflowJobTemplateDetail/WorkflowJobTemplateDetail.test.jsx index 90f1ab08e1..f693672d20 100644 --- a/awx/ui_next/src/screens/Template/WorkflowJobTemplateDetail/WorkflowJobTemplateDetail.test.jsx +++ b/awx/ui_next/src/screens/Template/WorkflowJobTemplateDetail/WorkflowJobTemplateDetail.test.jsx @@ -12,7 +12,7 @@ describe('', () => { const template = { id: 1, name: 'WFJT Template', - description: 'It is a wfjt template, yo!', + description: 'Yo, it is a wfjt template!', type: 'workflow_job_template', extra_vars: '1: 2', created: '2015-07-07T17:21:26.429745Z', @@ -35,7 +35,7 @@ describe('', () => { { id: 2, status: 'run' }, { id: 3, status: 'run' }, ], - webhook_credential: { id: '1', name: 'Credentaial', kind: 'machine' }, + webhook_credential: { id: '1', name: 'Credential', kind: 'machine' }, user_capabilities: { edit: true, delete: true }, }, webhook_service: 'Github', @@ -46,7 +46,7 @@ describe('', () => { initialEntries: ['/templates/workflow_job_template/1/details'], }); await act(async () => { - wrapper = await mountWithContexts( + wrapper = mountWithContexts( ( @@ -120,7 +120,7 @@ describe('', () => { { element: 'Detail[label="Description"]', prop: 'value', - value: 'It is a wfjt template, yo!', + value: 'Yo, it is a wfjt template!', }, { element: 'Detail[label="Job Type"]', diff --git a/awx/ui_next/src/screens/Template/WorkflowJobTemplateEdit/WorkflowJobTemplateEdit.test.jsx b/awx/ui_next/src/screens/Template/WorkflowJobTemplateEdit/WorkflowJobTemplateEdit.test.jsx index 49475d71f8..7ec426e096 100644 --- a/awx/ui_next/src/screens/Template/WorkflowJobTemplateEdit/WorkflowJobTemplateEdit.test.jsx +++ b/awx/ui_next/src/screens/Template/WorkflowJobTemplateEdit/WorkflowJobTemplateEdit.test.jsx @@ -152,7 +152,7 @@ describe('', () => { let newWrapper; await act(async () => { - newWrapper = await mountWithContexts( + newWrapper = mountWithContexts( , { context: { diff --git a/awx/ui_next/src/screens/Template/shared/SurveyList.test.jsx b/awx/ui_next/src/screens/Template/shared/SurveyList.test.jsx index 271ddf39bb..f51259db93 100644 --- a/awx/ui_next/src/screens/Template/shared/SurveyList.test.jsx +++ b/awx/ui_next/src/screens/Template/shared/SurveyList.test.jsx @@ -16,7 +16,7 @@ describe('', () => { test('expect component to mount successfully', async () => { let wrapper; await act(async () => { - wrapper = await mountWithContexts( + wrapper = mountWithContexts( ); }); @@ -25,7 +25,7 @@ describe('', () => { test('expect api to be called to get survey', async () => { let wrapper; await act(async () => { - wrapper = await mountWithContexts( + wrapper = mountWithContexts( ); }); @@ -37,7 +37,7 @@ describe('', () => { JobTemplatesAPI.readSurvey.mockRejectedValue(new Error()); let wrapper; await act(async () => { - wrapper = await mountWithContexts( + wrapper = mountWithContexts( ); }); diff --git a/awx/ui_next/src/screens/Template/shared/WorkflowJobTemplateForm.test.jsx b/awx/ui_next/src/screens/Template/shared/WorkflowJobTemplateForm.test.jsx index 904ac78204..9d5c966eba 100644 --- a/awx/ui_next/src/screens/Template/shared/WorkflowJobTemplateForm.test.jsx +++ b/awx/ui_next/src/screens/Template/shared/WorkflowJobTemplateForm.test.jsx @@ -66,7 +66,7 @@ describe('', () => { initialEntries: ['/templates/workflow_job_template/6/edit'], }); await act(async () => { - wrapper = await mountWithContexts( + wrapper = mountWithContexts( (