From a517b15c26ca25f48f7482458756a79f2a07f482 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Fri, 25 Oct 2019 11:59:40 -0400 Subject: [PATCH] Remove close button from job details --- awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx | 8 -------- awx/ui_next/src/screens/Job/JobDetail/JobDetail.test.jsx | 7 ------- 2 files changed, 15 deletions(-) diff --git a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx index b082a7a09e..fe006cd857 100644 --- a/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx +++ b/awx/ui_next/src/screens/Job/JobDetail/JobDetail.jsx @@ -279,14 +279,6 @@ function JobDetail({ job, i18n, history }) { > {i18n._(t`Delete`)} - {isDeleteModalOpen && ( ', () => { mountWithContexts(); }); - test('should display a Close button', () => { - const wrapper = mountWithContexts(); - - expect(wrapper.find('Button[aria-label="close"]').length).toBe(1); - wrapper.unmount(); - }); - test('should display details', () => { const wrapper = mountWithContexts();