diff --git a/awx/ui_next/src/screens/Dashboard/Dashboard.jsx b/awx/ui_next/src/screens/Dashboard/Dashboard.jsx
index 09602f043a..d348ce28f7 100644
--- a/awx/ui_next/src/screens/Dashboard/Dashboard.jsx
+++ b/awx/ui_next/src/screens/Dashboard/Dashboard.jsx
@@ -8,18 +8,17 @@ import {
CardActions,
CardBody,
PageSection,
- PageSectionVariants,
Select,
SelectVariant,
SelectOption,
Tabs,
Tab,
TabTitleText,
- Title,
} from '@patternfly/react-core';
import useRequest from '../../util/useRequest';
import { DashboardAPI } from '../../api';
+import Breadcrumbs from '../../components/Breadcrumbs';
import JobList from '../../components/JobList';
import LineChart from './shared/LineChart';
@@ -56,8 +55,6 @@ const GraphCardActions = styled(CardActions)`
`;
function Dashboard({ i18n }) {
- const { light } = PageSectionVariants;
-
const [isPeriodDropdownOpen, setIsPeriodDropdownOpen] = useState(false);
const [isJobTypeDropdownOpen, setIsJobTypeDropdownOpen] = useState(false);
const [periodSelection, setPeriodSelection] = useState('month');
@@ -111,11 +108,7 @@ function Dashboard({ i18n }) {
return (
-
-
- {i18n._(t`Dashboard`)}
-
-
+
-
-
- {i18n._(t`Management Jobs`)}
-
-
-
+
);
}
diff --git a/awx/ui_next/src/screens/ManagementJob/ManagementJobs.test.jsx b/awx/ui_next/src/screens/ManagementJob/ManagementJobs.test.jsx
index f6b6ecfbf9..a667a47690 100644
--- a/awx/ui_next/src/screens/ManagementJob/ManagementJobs.test.jsx
+++ b/awx/ui_next/src/screens/ManagementJob/ManagementJobs.test.jsx
@@ -6,13 +6,9 @@ import ManagementJobs from './ManagementJobs';
describe('', () => {
let pageWrapper;
- let pageSections;
- let title;
beforeEach(() => {
pageWrapper = mountWithContexts();
- pageSections = pageWrapper.find('PageSection');
- title = pageWrapper.find('Title');
});
afterEach(() => {
@@ -21,9 +17,6 @@ describe('', () => {
test('initially renders without crashing', () => {
expect(pageWrapper.length).toBe(1);
- expect(pageSections.length).toBe(2);
- expect(title.length).toBe(1);
- expect(title.props().size).toBe('2xl');
- expect(pageSections.first().props().variant).toBe('light');
+ expect(pageWrapper.find('Breadcrumbs').length).toBe(1);
});
});