diff --git a/awx/ui_next/src/routeConfig.js b/awx/ui_next/src/routeConfig.js index 9ef1167ffa..4b43dc4993 100644 --- a/awx/ui_next/src/routeConfig.js +++ b/awx/ui_next/src/routeConfig.js @@ -1,6 +1,6 @@ import { t } from '@lingui/macro'; -import Applications from './screens/Applications'; +import Applications from './screens/Application'; import Credentials from './screens/Credential'; import CredentialTypes from './screens/CredentialType'; import Dashboard from './screens/Dashboard'; diff --git a/awx/ui_next/src/screens/Applications/Application/Application.jsx b/awx/ui_next/src/screens/Application/Application/Application.jsx similarity index 100% rename from awx/ui_next/src/screens/Applications/Application/Application.jsx rename to awx/ui_next/src/screens/Application/Application/Application.jsx diff --git a/awx/ui_next/src/screens/Applications/Application/index.js b/awx/ui_next/src/screens/Application/Application/index.js similarity index 100% rename from awx/ui_next/src/screens/Applications/Application/index.js rename to awx/ui_next/src/screens/Application/Application/index.js diff --git a/awx/ui_next/src/screens/Applications/ApplicationAdd/ApplicationAdd.jsx b/awx/ui_next/src/screens/Application/ApplicationAdd/ApplicationAdd.jsx similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationAdd/ApplicationAdd.jsx rename to awx/ui_next/src/screens/Application/ApplicationAdd/ApplicationAdd.jsx diff --git a/awx/ui_next/src/screens/Applications/ApplicationAdd/index.js b/awx/ui_next/src/screens/Application/ApplicationAdd/index.js similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationAdd/index.js rename to awx/ui_next/src/screens/Application/ApplicationAdd/index.js diff --git a/awx/ui_next/src/screens/Applications/ApplicationDetails/ApplicationDetails.jsx b/awx/ui_next/src/screens/Application/ApplicationDetails/ApplicationDetails.jsx similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationDetails/ApplicationDetails.jsx rename to awx/ui_next/src/screens/Application/ApplicationDetails/ApplicationDetails.jsx diff --git a/awx/ui_next/src/screens/Applications/ApplicationDetails/index.js b/awx/ui_next/src/screens/Application/ApplicationDetails/index.js similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationDetails/index.js rename to awx/ui_next/src/screens/Application/ApplicationDetails/index.js diff --git a/awx/ui_next/src/screens/Applications/ApplicationEdit/ApplicationEdit.jsx b/awx/ui_next/src/screens/Application/ApplicationEdit/ApplicationEdit.jsx similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationEdit/ApplicationEdit.jsx rename to awx/ui_next/src/screens/Application/ApplicationEdit/ApplicationEdit.jsx diff --git a/awx/ui_next/src/screens/Applications/ApplicationEdit/index.js b/awx/ui_next/src/screens/Application/ApplicationEdit/index.js similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationEdit/index.js rename to awx/ui_next/src/screens/Application/ApplicationEdit/index.js diff --git a/awx/ui_next/src/screens/Applications/Applications.jsx b/awx/ui_next/src/screens/Application/Applications.jsx similarity index 100% rename from awx/ui_next/src/screens/Applications/Applications.jsx rename to awx/ui_next/src/screens/Application/Applications.jsx diff --git a/awx/ui_next/src/screens/Applications/Applications.test.jsx b/awx/ui_next/src/screens/Application/Applications.test.jsx similarity index 82% rename from awx/ui_next/src/screens/Applications/Applications.test.jsx rename to awx/ui_next/src/screens/Application/Applications.test.jsx index 7915523720..f309a2b60a 100644 --- a/awx/ui_next/src/screens/Applications/Applications.test.jsx +++ b/awx/ui_next/src/screens/Application/Applications.test.jsx @@ -7,12 +7,10 @@ import Applications from './Applications'; describe('', () => { let pageWrapper; let pageSections; - let title; beforeEach(() => { pageWrapper = mountWithContexts(); pageSections = pageWrapper.find('PageSection'); - title = pageWrapper.find('Title'); }); afterEach(() => { @@ -22,8 +20,6 @@ describe('', () => { test('initially renders without crashing', () => { expect(pageWrapper.length).toBe(1); expect(pageSections.length).toBe(1); - expect(title.length).toBe(1); - expect(title.props().size).toBe('2xl'); expect(pageSections.first().props().variant).toBe('light'); }); }); diff --git a/awx/ui_next/src/screens/Applications/ApplicationsList/ApplicationsList.jsx b/awx/ui_next/src/screens/Application/ApplicationsList/ApplicationsList.jsx similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationsList/ApplicationsList.jsx rename to awx/ui_next/src/screens/Application/ApplicationsList/ApplicationsList.jsx diff --git a/awx/ui_next/src/screens/Applications/ApplicationsList/index.js b/awx/ui_next/src/screens/Application/ApplicationsList/index.js similarity index 100% rename from awx/ui_next/src/screens/Applications/ApplicationsList/index.js rename to awx/ui_next/src/screens/Application/ApplicationsList/index.js diff --git a/awx/ui_next/src/screens/Applications/index.js b/awx/ui_next/src/screens/Application/index.js similarity index 100% rename from awx/ui_next/src/screens/Applications/index.js rename to awx/ui_next/src/screens/Application/index.js