Use application layout from react-components. #13882
Annotations
13 errors
Lint:
src/app/App.tsx#L5
Module '"@canonical/react-components"' has no exported member 'AppNavigationBar'.
|
Lint:
src/app/App.tsx#L6
Module '"@canonical/react-components"' has no exported member 'AppStatus'.
|
Lint:
src/app/App.tsx#L7
Module '"@canonical/react-components"' has no exported member 'Application'.
|
Lint:
src/app/App.tsx#L9
Module '"@canonical/react-components"' has no exported member 'Panel'.
|
Lint:
src/app/base/components/AppSideNavigation/AppSideNavItems/AppSideNavItems.tsx#L4
'"@canonical/react-components"' has no exported member named 'SideNavigation'. Did you mean 'Navigation'?
|
Lint:
src/app/base/components/AppSideNavigation/AppSideNavigation.tsx#L5
'"@canonical/react-components"' has no exported member named 'AppNavigation'. Did you mean 'Navigation'?
|
Lint:
src/app/base/components/AppSideNavigation/AppSideNavigation.tsx#L6
Module '"@canonical/react-components"' has no exported member 'AppNavigationBar'.
|
Lint:
src/app/base/components/AppSideNavigation/AppSideNavigation.tsx#L7
Module '"@canonical/react-components"' has no exported member 'Panel'.
|
Lint:
src/app/base/components/AppSidePanel/AppSidePanel.tsx#L4
Module '"@canonical/react-components"' has no exported member 'AppAside'.
|
Lint:
src/app/base/components/PageContent/PageContent.tsx#L3
Module '"@canonical/react-components"' has no exported member 'AppMain'.
|
src/app/Routes.test.tsx > Routes > Displays: Controller details at: /controller/abc123:
src/app/Routes.test.tsx#L187
AssertionError: expected '/controller/abc123' to be '/controller/abc123/summary' // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="p-notification--negative"
>
<div
class="p-notification__content"
>
<h5
class="p-notification__title"
data-testid="notification-title"
>
Error:
</h5>
<p
class="p-notification__message"
>
An unexpected error has occurred, please try refreshing your browser window.
</p>
</div>
</div>
</div>
</body>
</html>
- Expected
+ Received
- /controller/abc123/summary
+ /controller/abc123
❯ src/app/Routes.test.tsx:187:42
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:121:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:115:16
|
src/app/Routes.test.tsx > Routes > Displays: Machine details at: /machine/abc123:
src/app/Routes.test.tsx#L187
AssertionError: expected '/machine/abc123' to be '/machine/abc123/summary' // Object.is equality
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="p-notification--negative"
>
<div
class="p-notification__content"
>
<h5
class="p-notification__title"
data-testid="notification-title"
>
Error:
</h5>
<p
class="p-notification__message"
>
An unexpected error has occurred, please try refreshing your browser window.
</p>
</div>
</div>
</div>
</body>
</html>
- Expected
+ Received
- /machine/abc123/summary
+ /machine/abc123
❯ src/app/Routes.test.tsx:187:42
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:47:12
❯ checkCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:121:77
❯ Timeout.checkRealTimersCallback node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/wait-for.js:115:16
|
Test
Process completed with exit code 1.
|