Use vite to replace webpack etc #1236
Annotations
2 errors
Run npm test:
__tests__/integration/mirador/tests/plugin-state.test.js#L11
TestingLibraryElementError: Unable to find an element with the text: Plugin:https://iiif.harvardartmuseums.org/manifests/object/299843. 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>
<div>
<div
data-testid="mirador"
style="bottom: 0px; left: 0px; position: absolute; right: 0px; top: 0px;"
>
<div
class="fullscreen"
>
<div
class="css-rvh6fe-WorkspaceArea-root"
>
<nav
aria-label="Workspace navigation"
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionAbsolute mirador-workspace-control-panel css-3f7qxr-MuiPaper-root-MuiAppBar-root-WorkspaceControlPanel-root"
>
<div
class="MuiToolbar-root MuiToolbar-regular css-1lartyw-MuiToolbar-root-WorkspaceControlPanel-toolbar"
>
<button
aria-label="Add resource"
class="MuiButtonBase-root MuiFab-root MuiFab-circular MuiFab-sizeMedium MuiFab-primary MuiFab-root MuiFab-circular MuiFab-sizeMedium MuiFab-primary css-18prof-MuiButtonBase-root-MuiFab-root-WorkspaceAddButton-root"
data-mui-internal-clone-element="true"
id="addBtn"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="AddSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<div
class="css-j0aotr-WorkspaceControlPanel-buttonArea"
>
<button
id="plugin-button"
style="width: 64px;"
>
Plugin:undefined
</button>
</div>
</div>
<div
class="MuiStack-root css-19ykvmu-MuiStack-root-WorkspaceControlPanel-branding"
>
<p
class="MuiTypography-root MuiTypography-body1 MuiTypography-alignCenter css-11t0e4h-MuiTypography-root"
>
<a
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge css-mf1cb5-MuiButtonBase-root-MuiIconButton-root"
href="https://projectmirador.org"
rel="noopener"
tabindex="0"
target="_blank"
>
<svg
aria-label="About Project Mirador"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeLarge css-tzssek-MuiSvgIcon-root"
focusable="false"
role="img"
viewBox="0 0 60 55"
>
<rect
height="55"
width="18"
/>
<rect
height="55"
transform="translate(42)"
width="18"
/>
<rect
height="34"
transform="translate(21)"
width="18"
/>
<title>
About Project Mirador
</title>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</a>
</p>
</div>
</nav>
<main
aria-labe
|
Run npm test
Process completed with exit code 1.
|
Loading