Download for images #1076 #4441
Annotations
5 errors and 1 warning
Run unit tests:
src/admin/units/units.component.test.tsx#L18
TestingLibraryElementError: Found multiple elements with the role "progressbar"
Here are the matching elements:
Ignored nodes: comments, script, style
<span
aria-busy="true"
aria-label="Loading"
class="MuiLinearProgress-root MuiLinearProgress-colorPrimary MuiLinearProgress-indeterminate css-qprkun-MuiLinearProgress-root"
role="progressbar"
>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar1Indeterminate css-5ir5xx-MuiLinearProgress-bar1"
/>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar2Indeterminate css-1r8wrcl-MuiLinearProgress-bar2"
/>
</span>
Ignored nodes: comments, script, style
<span
aria-busy="true"
aria-label="Loading"
class="MuiLinearProgress-root MuiLinearProgress-colorPrimary MuiLinearProgress-indeterminate css-qprkun-MuiLinearProgress-root"
role="progressbar"
>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar1Indeterminate css-5ir5xx-MuiLinearProgress-bar1"
/>
<span
class="MuiLinearProgress-bar MuiLinearProgress-barColorPrimary MuiLinearProgress-bar2Indeterminate css-1r8wrcl-MuiLinearProgress-bar2"
/>
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
style="width: 100%; height: 100%;"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation2 css-1s80a98-MuiPaper-root"
>
<div
class="MuiBox-root css-1tbggly"
>
<div
class="Mui-ToolbarDropZone MuiBox-root css-1fwjva3"
style="opacity: 0; visibility: hidden;"
>
<p
class="MuiTypography-root MuiTypography-body1 css-p3gdy2-MuiTypography-root"
>
Drop to group by
</p>
</div>
<div
class="MuiBox-root css-wsew38"
>
<div
class="MuiBox-root css-0"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary css-1owl11-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeMedium css-1d6wzja-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="AddIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
/>
</svg>
</span>
Add Unit
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary css-1owl11-MuiButtonBase-root-MuiButton-root"
disabled=""
tabindex="-1"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeMedium css-1d6wzja-MuiButton-startIcon"
>
<svg
aria-hidden="true"
clas
|
Run unit tests:
src/catalogue/category/catalogueCategoryDialog.component.test.tsx#L60
TestingLibraryElementError: Unable to find an element with the text: Add Property. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
/>
<div
class="MuiDialog-root MuiModal-root css-zw3mfo-MuiModal-root-MuiDialog-root"
role="presentation"
>
<div
aria-hidden="true"
class="MuiBackdrop-root MuiModal-backdrop css-yiavyu-MuiBackdrop-root-MuiDialog-backdrop"
style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
/>
<div
data-testid="sentinelStart"
tabindex="0"
/>
<div
class="MuiDialog-container MuiDialog-scrollPaper css-hz1bth-MuiDialog-container"
role="presentation"
style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
tabindex="-1"
>
<div
aria-labelledby=":ri9:"
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthLg MuiDialog-paperFullWidth css-cyxlny-MuiPaper-root-MuiDialog-paper"
role="dialog"
>
<h2
class="MuiTypography-root MuiTypography-h6 MuiDialogTitle-root css-bdhsul-MuiTypography-root-MuiDialogTitle-root"
id=":ri9:"
>
Add Catalogue Category
</h2>
<div
class="MuiDialogContent-root css-ypiqx9-MuiDialogContent-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-spacing-xs-1 MuiGrid-direction-xs-column css-ffjoah-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-4t3nre-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 css-1idn90j-MuiGrid-root"
>
<div
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-i42glm-MuiFormControl-root-MuiTextField-root"
>
<label
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled Mui-required MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeMedium MuiInputLabel-outlined css-1jy569b-MuiFormLabel-root-MuiInputLabel-root"
data-shrink="true"
for="catalogue-category-name-input"
id="catalogue-category-name-input-label"
>
Name
<span
aria-hidden="true"
class="MuiFormLabel-asterisk MuiInputLabel-asterisk css-wgai2y-MuiFormLabel-asterisk"
>
*
</span>
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl css-md26zr-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input"
id="catalogue-category-name-input"
name="name"
required=""
type="text"
value=""
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-1d3z3hw-MuiOutlinedInpu
|
Run unit tests:
src/common/images/imageGallery.component.test.tsx#L217
TestingLibraryElementError: Unable to find an element with the text: Are you sure you want to download 3 Images?. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<div
class="MuiGrid-root MuiGrid-container css-11lq3yg-MuiGrid-root"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item MuiGrid-direction-xs-column css-u33e6k-MuiGrid-root"
>
<div
class="MuiCollapse-root MuiCollapse-vertical MuiCollapse-hidden css-bz4dnt-MuiCollapse-root"
style="min-height: 0px; width: 100%;"
>
<div
class="MuiCollapse-wrapper MuiCollapse-vertical css-smkl36-MuiCollapse-wrapper"
>
<div
class="MuiCollapse-wrapperInner MuiCollapse-vertical css-9l5vo-MuiCollapse-wrapperInner"
>
<div
class="MuiGrid-root MuiGrid-container MuiGrid-item css-1rsmtcf-MuiGrid-root"
>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary Mui-disabled MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary css-6720kh-MuiButtonBase-root-MuiButton-root"
disabled=""
tabindex="-1"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeMedium css-1d6wzja-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="ClearIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
/>
</svg>
</span>
Clear Filters
</button>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiButton-colorPrimary css-1owl11-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeMedium css-1d6wzja-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="DriveFileMoveOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m0 12H4V6h5.17l1.41 1.41.59.59H20zm-7.84-6H8v2h4.16l-1.59 1.59L11.99 17 16 13.01 11.99 9l-1.41 1.41z"
/>
</svg>
</span>
Download
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeMedium MuiButton-outlinedSizeMedium MuiBut
|
Run unit tests:
src/common/images/uploadImagesDialog.component.test.tsx#L93
TestingLibraryElementError: Found multiple elements with the text: image.png
Here are the matching elements:
Ignored nodes: comments, script, style
<div
class="uppy-Dashboard-Item-name"
title="image.png"
>
image.png
</div>
Ignored nodes: comments, script, style
<span
class="uppy-DashboardContent-titleFile"
>
image.png
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body
class="uppy-Dashboard-isFixed"
>
<div>
<div
class="uppy-Container"
>
<div
class="uppy-Root"
dir="ltr"
>
<div
aria-disabled="false"
aria-hidden="false"
aria-label="Uppy Dashboard Window (Press escape to close)"
class="uppy-Dashboard uppy-Dashboard--modal uppy-Dashboard--isInnerWrapVisible"
data-uppy-drag-drop-supported="true"
data-uppy-num-acquirers="0"
data-uppy-theme="light"
>
<div
aria-hidden="true"
class="uppy-Dashboard-overlay"
tabindex="-1"
/>
<div
aria-modal="true"
class="uppy-Dashboard-inner"
role="dialog"
>
<button
aria-label="Close Modal"
class="uppy-u-reset uppy-Dashboard-close"
title="Close Modal"
type="button"
>
<span
aria-hidden="true"
>
×
</span>
</button>
<div
class="uppy-Dashboard-innerWrap"
>
<div
class="uppy-Dashboard-dropFilesHereHint"
>
Drop your files here
</div>
<div
class="uppy-DashboardContent-bar"
>
<button
class="uppy-DashboardContent-back"
type="button"
>
Cancel
</button>
<div
aria-level="1"
class="uppy-DashboardContent-title"
role="heading"
>
1 file selected
</div>
<button
aria-label="Add more files"
class="uppy-DashboardContent-addMore"
title="Add more files"
type="button"
>
<svg
aria-hidden="true"
class="uppy-c-icon"
focusable="false"
height="15"
viewBox="0 0 15 15"
width="15"
>
<path
d="M8 6.5h6a.5.5 0 0 1 .5.5v.5a.5.5 0 0 1-.5.5H8v6a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V8h-6a.5.5 0 0 1-.5-.5V7a.5.5 0 0 1 .5-.5h6v-6A.5.5 0 0 1 7 0h.5a.5.5 0 0 1 .5.5v6z"
/>
</svg>
<span
class="uppy-DashboardContent-addMoreCaption"
>
Add more
</span>
</button>
</div>
<div
class="uppy-Dashboard-files"
>
<div
class="uppy-Dashboard-filesInner"
role="presentation"
>
<div
class="uppy-Dashboard-Item"
id="uppy_uppy-image/png-1e-image/png-11-1736438759126"
role="listitem"
>
<div
class="uppy-Dashboard-Item-preview"
>
<div
class="uppy-Dashboard-Item-previewInnerWrap"
style="background-color: rgb(104, 109, 224);"
>
<div
class="uppy-Dashboard-Item-previewIconWrap"
|
Run unit tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading