Use application layout from react-components. #13882
Annotations
3 errors
Run yarn test:ci:
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
|
Run yarn test:ci:
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
|
Run yarn test:ci
Process completed with exit code 1.
|
Loading