Use vite to replace webpack etc #1211
Annotations
21 errors
__tests__/integration/mirador/tests/annotations.test.js > Annotations in Mirador > Loads the manifest:
__tests__/integration/mirador/tests/annotations.test.js#L16
TestingLibraryElementError: Unable to find role="region" and name `/Window: Self-Portrait Dedicated to Paul Gauguin/i`
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/annotations.test.js:16:34
|
__tests__/integration/mirador/tests/companion-windows.test.js > Basic end to end Mirador > allows the sidebar panel to be popped out into a companion window and closed:
__tests__/integration/mirador/tests/companion-windows.test.js#L10
TestingLibraryElementError: Unable to find a label with the text of: /toggle sidebar/i
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/companion-windows.test.js:10:40
|
__tests__/integration/mirador/tests/minimalist.test.js > Minimalist configuration to Mirador > Loads a manifest and displays it without some of the default controls:
__tests__/integration/mirador/tests/minimalist.test.js#L10
TestingLibraryElementError: Unable to find role="region" and name `/Window: Self-Portrait Dedicated to Paul Gauguin/i`
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/minimalist.test.js:10:25
|
__tests__/integration/mirador/tests/plugin-add.test.js > add two plugins to <WorkspaceControlPanelButtons> > all add plugins are present:
__tests__/integration/mirador/tests/plugin-add.test.js#L12
TestingLibraryElementError: Unable to find an element with the text: Plugin A. 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
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/plugin-add.test.js:12:25
|
__tests__/integration/mirador/tests/plugin-add.test.js > add two plugins to <WorkspaceControlPanelButtons> > wrapped and added plugins are present:
__tests__/integration/mirador/tests/plugin-add.test.js#L18
TestingLibraryElementError: Unable to find an element by: [data-testid="wrapped-plugin-with-adds"]
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ __tests__/integration/mirador/tests/plugin-add.test.js:18:30
|
__tests__/integration/mirador/tests/plugin-companion-window.test.js > add plugins for companion windows > added a plugin to the window sidebar and companion window:
__tests__/integration/mirador/tests/plugin-companion-window.test.js#L10
TestingLibraryElementError: Unable to find a label with the text of: /toggle sidebar/i
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/plugin-companion-window.test.js:10:40
|
__tests__/integration/mirador/tests/plugin-state.test.js > how plugins relate to state > plugin can read from state:
__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
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/plugin-state.test.js:11:42
|
__tests__/integration/mirador/tests/plugin-validate.test.js > how plugins relate to state > valid plugins will be applied <WorkspaceControlPanelButtons>:
__tests__/integration/mirador/tests/plugin-validate.test.js#L10
TestingLibraryElementError: Unable to find an element by: [data-testid="valid-plugin-a"]
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 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-oooo0h-MuiPaper-root-MuiAppBar-root-WorkspaceControlPanel-root"
>
<div
class="MuiToolbar-root MuiToolbar-regular css-1lartyw-MuiToolbar-root-WorkspaceControlPanel-toolbar"
>
<button
aria-label="Start Here"
class="MuiButtonBase-root MuiFab-root MuiFab-extended MuiFab-sizeMedium MuiFab-primary MuiFab-root MuiFab-extended MuiFab-sizeMedium MuiFab-primary css-191nm2o-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>
Start Here
</button>
<div
class="css-j0aotr-WorkspaceControlPanel-buttonArea"
>
<button
aria-haspopup="true"
aria-label="Jump to window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
>
<span
class="MuiBadge-root css-1yq562r-MuiBadge-root"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="BookmarksSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="m19 18 2 1V1H7v2h12zM17 5H3v18l7-3 7 3z"
/>
</svg>
<span
class="MuiBadge-badge MuiBadge-standard MuiBadge-invisible MuiBadge-anchorOriginTopRight MuiBadge-anchorOriginTopRightRectangular MuiBadge-overlapRectangular css-opy2aw-MuiBadge-badge"
/>
</span>
</button>
<button
aria-haspopup="true"
aria-label="Workspace settings"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
data-mui-internal-clone-element="true"
id="menuBtn"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="SettingsSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="m19.44 12.99-.01.02c.04-.33.08-.6
|
__tests__/integration/mirador/tests/window-actions.test.js > Window actions > Closes a Mirador window:
__tests__/integration/mirador/tests/window-actions.test.js#L10
TestingLibraryElementError: Unable to find role="region" and name `/Window: Self-Portrait Dedicated to Paul Gauguin/i`
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/window-actions.test.js:10:25
|
__tests__/src/components/AttributionPanel.test.js > AttributionPanel > renders the manifest logo:
__tests__/src/components/AttributionPanel.test.js#L51
Error: expect(received).toBeInTheDocument()
received value must be an HTMLElement or an SVGElement.
Ignored nodes: comments, script, style
<html>
<head />
<body
class=""
>
<div>
<aside
aria-label="attributionTitle"
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation1 mirador-companion-window-null mirador-attribution-panel css-12xhof0-MuiPaper-root-CompanionWindow-root"
>
<div
class="css-1kx3svr-CompanionWindow-resize react-draggable"
style="position: inherit; user-select: auto; width: 235px; height: 100%; display: inherit; top: 0px; left: 0px; cursor: auto; transform: translate(NaNpx,NaNpx); max-width: 9007199254740991px; max-height: 9007199254740991px; min-width: 100px; min-height: 50px; box-sizing: border-box; flex-shrink: 0;"
>
<div />
<div
class="MuiToolbar-root MuiToolbar-dense mirador-companion-window-header css-1bwaa8q-MuiToolbar-root-CompanionWindow-toolbar"
>
<h3
class="MuiTypography-root MuiTypography-h3 css-14jg5k2-MuiTypography-root-CompanionWindow-title"
>
attributionTitle
</h3>
<button
aria-label="moveCompanionWindowToBottom"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge css-1kzf70w-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root-CompanionWindow-positionButton"
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="DragIndicatorSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2m-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
<button
aria-label="closeCompanionWindow"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge css-u4i1wu-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root-CompanionWindow-closeButton"
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="CloseSharpIcon"
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
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 mirador-scrollto-scrollable css-ai1ekc-MuiPaper-root-CompanionWindow-contents"
>
<div
class="css-1h7qrk0-CompanionWindowSection-root"
parentactions="[object Object]"
/>
<div
class="css-1h7qrk0-CompanionWindowSection-root"
parentactions="[object Object]"
/>
</div>
<div />
</div>
</aside>
</div>
</body>
</html>...
❯ __tests__/src/components/AttributionPanel.test.js:51:66
❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12
|
build (18.x)
The job was canceled because "_20_x" failed.
|
__tests__/integration/mirador/tests/annotations.test.js > Annotations in Mirador > Loads the manifest:
__tests__/integration/mirador/tests/annotations.test.js#L16
TestingLibraryElementError: Unable to find role="region" and name `/Window: Self-Portrait Dedicated to Paul Gauguin/i`
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/annotations.test.js:16:34
|
__tests__/integration/mirador/tests/companion-windows.test.js > Basic end to end Mirador > allows the sidebar panel to be popped out into a companion window and closed:
__tests__/integration/mirador/tests/companion-windows.test.js#L10
TestingLibraryElementError: Unable to find a label with the text of: /toggle sidebar/i
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/companion-windows.test.js:10:40
|
__tests__/integration/mirador/tests/invalid-manifest.test.js > Invalid response while adding manifest > Loads a blank manifest row:
__tests__/integration/mirador/tests/invalid-manifest.test.js#L21
TestingLibraryElementError: Unable to find role="button" and name "Start Here"
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/invalid-manifest.test.js:21:34
|
__tests__/integration/mirador/tests/minimalist.test.js > Minimalist configuration to Mirador > Loads a manifest and displays it without some of the default controls:
__tests__/integration/mirador/tests/minimalist.test.js#L10
TestingLibraryElementError: Unable to find role="region" and name `/Window: Self-Portrait Dedicated to Paul Gauguin/i`
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/minimalist.test.js:10:25
|
__tests__/integration/mirador/tests/plugin-add.test.js > add two plugins to <WorkspaceControlPanelButtons> > all add plugins are present:
__tests__/integration/mirador/tests/plugin-add.test.js#L12
TestingLibraryElementError: Unable to find an element with the text: Plugin A. 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
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/plugin-add.test.js:12:25
|
__tests__/integration/mirador/tests/plugin-add.test.js > add two plugins to <WorkspaceControlPanelButtons> > wrapped and added plugins are present:
__tests__/integration/mirador/tests/plugin-add.test.js#L18
TestingLibraryElementError: Unable to find an element by: [data-testid="wrapped-plugin-with-adds"]
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ __tests__/integration/mirador/tests/plugin-add.test.js:18:30
|
__tests__/integration/mirador/tests/plugin-companion-window.test.js > add plugins for companion windows > added a plugin to the window sidebar and companion window:
__tests__/integration/mirador/tests/plugin-companion-window.test.js#L10
TestingLibraryElementError: Unable to find a label with the text of: /toggle sidebar/i
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/plugin-companion-window.test.js:10:40
|
__tests__/integration/mirador/tests/plugin-state.test.js > how plugins relate to state > plugin can read from state:
__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
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/plugin-state.test.js:11:42
|
__tests__/integration/mirador/tests/plugin-validate.test.js > how plugins relate to state > valid plugins will be applied <WorkspaceControlPanelButtons>:
__tests__/integration/mirador/tests/plugin-validate.test.js#L10
TestingLibraryElementError: Unable to find an element by: [data-testid="valid-plugin-a"]
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/plugin-validate.test.js:10:25
|
__tests__/integration/mirador/tests/window-actions.test.js > Window actions > Closes a Mirador window:
__tests__/integration/mirador/tests/window-actions.test.js#L10
TestingLibraryElementError: Unable to find role="region" and name `/Window: Self-Portrait Dedicated to Paul Gauguin/i`
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div
data-testid="mirador"
id="mirador"
style="position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px;"
>
<div
class="fullscreen"
>
<div />
</div>
</div>
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ __tests__/integration/mirador/tests/window-actions.test.js:10:25
|