fix(deps): update dependency @canonical/react-components to v1 #14842
Annotations
2 errors
Run yarn test:
src/app/images/components/SMImagesTable/DownloadImages/DownloadImagesSelect/DownloadImagesSelect.test.tsx#L105
TestingLibraryElementError: Unable to find an element with the role "checkbox"
Here are the available roles:
heading:
Name "Ubuntu images":
<h2
class="p-heading--4"
/>
--------------------------------------------------
table:
Name "":
<table
class="download-images-table"
/>
--------------------------------------------------
rowgroup:
Name "":
<thead />
Name "":
<tbody />
--------------------------------------------------
row:
Name "Release Architecture":
<tr />
Name "16.04 LTS":
<tr
aria-label="16.04 LTS"
/>
--------------------------------------------------
columnheader:
Name "Release":
<th />
Name "Architecture":
<th />
--------------------------------------------------
cell:
Name "16.04 LTS":
<td />
Name "":
<td />
--------------------------------------------------
combobox:
Name "Select architectures":
<button
aria-controls=":r3:"
aria-expanded="false"
aria-label="Select architectures"
class="multi-select__select-button"
role="combobox"
type="button"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<span>
<h2
class="p-heading--4"
>
Ubuntu
images
</h2>
<table
class="download-images-table"
>
<thead>
<tr>
<th>
Release
</th>
<th>
Architecture
</th>
</tr>
</thead>
<tbody>
<tr
aria-label="16.04 LTS"
>
<td>
16.04 LTS
</td>
<td>
<span
class="multi-select p-contextual-menu p-contextual-menu--left"
>
<button
aria-controls=":r3:"
aria-expanded="false"
aria-label="Select architectures"
class="multi-select__select-button"
role="combobox"
type="button"
>
<span
class="multi-select__condensed-text"
>
Select architectures
</span>
</button>
</span>
</td>
</tr>
</tbody>
</table>
</span>
</div>
<div />
</body>
❯ Object.getElementError node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:109:15
❯ src/app/images/components/SMImagesTable/DownloadImages/DownloadImagesSelect/DownloadImagesSelect.test.tsx:105:31
|
Run yarn test
Process completed with exit code 1.
|
Loading