Design #24
Annotations
4 errors and 3 warnings
|
Header Component > renders the correct typography element:
src/app/components/Header/Header.test.tsx#L18
TestingLibraryElementError: Unable to find an accessible element with the role "heading"
Here are the accessible roles:
banner:
Name "":
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionStatic css-hip9hq-MuiPaper-root-MuiAppBar-root"
/>
--------------------------------------------------
heading:
Name "Bot":
<h6
class="MuiTypography-root MuiTypography-h6 css-1juivf6-MuiTypography-root"
/>
--------------------------------------------------
button:
Name "account of current user":
<button
aria-controls="menu-appbar"
aria-haspopup="true"
aria-label="account of current user"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeLarge css-1pz7awu-MuiButtonBase-root-MuiIconButton-root"
tabindex="0"
type="button"
/>
Name "Display Attributes":
<button
aria-label="Display Attributes"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
/>
Name "Display Data Sample":
<button
aria-label="Display Data Sample"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
/>
Name "Download Full Data":
<button
aria-label="Download Full Data"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
/>
Name "Help!":
<button
aria-label="Help!"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
/>
Name "Leave us a comment":
<button
aria-label="Leave us a comment"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
class="MuiBox-root css-0"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorPrimary MuiAppBar-positionStatic css-hip9hq-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-gutters MuiToolbar-regular css-hyum1k-MuiToolbar-root"
>
<h6
class="MuiTypography-root MuiTypography-h6 css-1juivf6-MuiTypography-root"
>
Bot
</h6>
<div
class="MuiBox-root css-1m04nb5"
>
<button
aria-controls="menu-appbar"
aria-haspopup="true"
aria-label="account of current user"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-colorInherit MuiIconButton-sizeLarge css-1pz7awu-MuiButtonBase-root-MuiIconButton-root"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
<div
class="MuiBox-root css-1guk29"
>
<button
aria-label="Display Attributes"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="TextSnippetTwoToneIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M14.17 5 19 9.83V19H5V5h9.17M7 15h10v2H7v-2zm0-4h10v2H7v-2zm0-4h7v2H7V7z"
opacity=".3"
/>
<path
d="M14.17 5 19 9.83V19H5V5h9.17m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V9.83c0-.53-.21-1.04-.59-1.41l-4.83-4.83c-.37-.38-.88-.59-1.41-.59zM7 15h10v2H7v-2zm0-4h10v2H7v-2zm0-4h7v2H7V7z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<button
aria-label="Display Data Sample"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="DatasetTwoToneIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M5 19h14V5H5v14zm8-12h4v4h-4V7zm0 6h4v4h-4v-4zM7 7h4v4H7V7zm0 6h4v4H7v-4z"
opacity=".3"
/>
<path
d="M7 13h4v4H7zm6 0h4v4h-4z"
/>
<path
d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z"
/>
<path
d="M7 7h4v4H7zm6 0h4v4h-4z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<button
aria-label="Download Full Data"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-78trlr-MuiButtonBase-root-MuiIconButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="DownloadTwoToneIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M13 9V5h-2v6H9.83L12 13.17 14.17 11H13z"
opacity=".3"
/>
<path
d="M15 9V3H9v6H5l7 7 7-7h-4zm-3 4.17L9.83 11H11V5h2v6h1.17L12 13.17zM5 18h14v2H5z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</butto...
at Object.getElementError (/home/runner/work/DBbotUI/DBbotUI/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/DBbotUI/DBbotUI/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/DBbotUI/DBbotUI/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/DBbotUI/DBbotUI/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByRole (/home/runner/work/DBbotUI/DBbotUI/src/app/components/Header/Header.test.tsx:21:35)
at Promise.then.completed (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/DBbotUI/DBbotUI/node_modules/jest-runner/build/testWorker.js:106:12)
|
|
coverage
Process completed with exit code 1.
|
|
coverage
Jest coverage report action failed
|
|
coverage
Error: The process '/usr/local/bin/npx' failed with exit code 1
Error: The process '/usr/local/bin/npx' failed with exit code 1
at wd._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2.3.0/dist/index.js:21:19186)
at wd.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2.3.0/dist/index.js:21:18773)
at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2.3.0/dist/index.js:21:17765)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
|
|
🧾 Statement is not covered:
src/app/components/Table/Table.tsx#L17
Warning! Not covered statement
|
|
🧾 Statement is not covered:
src/app/components/Table/Table.tsx#L19
Warning! Not covered statement
|
|
🕹️ Function is not covered:
src/app/components/Table/Table.tsx#L14
Warning! Not covered function
|