diff --git a/awx/ui/src/screens/Job/JobDetail/JobDetail.js b/awx/ui/src/screens/Job/JobDetail/JobDetail.js
index 8653290035..dd36413c26 100644
--- a/awx/ui/src/screens/Job/JobDetail/JobDetail.js
+++ b/awx/ui/src/screens/Job/JobDetail/JobDetail.js
@@ -139,11 +139,13 @@ function JobDetail({ job, inventorySourceLabels }) {
label={t`Started`}
value={formatDateString(job.started)}
/>
-
+ {job?.finished && (
+
+ )}
{jobTemplate && (
', () => {
).toHaveLength(1);
});
+ test('should not display finished date', () => {
+ wrapper = mountWithContexts(
+
+ );
+ expect(wrapper.find(`Detail[label="Finished"]`).length).toBe(0);
+ });
+
test('should display module name and module arguments', () => {
wrapper = mountWithContexts(