diff --git a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.js b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.js
index 30d6da5512..62c88047e3 100644
--- a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.js
+++ b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.js
@@ -76,7 +76,7 @@ function JobDetail({ job }) {
project_update: t`Source Control Update`,
inventory_update: t`Inventory Sync`,
job: job.job_type === 'check' ? t`Playbook Check` : t`Playbook Run`,
- ad_hoc_command: t`Command`,
+ ad_hoc_command: t`Run Command`,
system_job: t`Management Job`,
workflow_job: t`Workflow Job`,
};
@@ -337,6 +337,8 @@ function JobDetail({ job }) {
}
/>
)}
+
+
', () => {
).toHaveLength(1);
});
+ test('should display module name and module arguments', () => {
+ wrapper = mountWithContexts(
+
+ );
+ assertDetail('Module Name', 'command');
+ assertDetail('Module Arguments', 'echo hello_world');
+ assertDetail('Job Type', 'Run Command');
+ });
+
test('should show schedule that launched workflow job', async () => {
wrapper = mountWithContexts(