Use context to pass the window id around #1507
Annotations
14 errors and 1 warning
__tests__/src/components/Window.test.js > Window > should render outer element:
src/containers/PrimaryWindow.js#L16
TestingLibraryElementError: Unable to find a label with the text of: Window:
Ignored nodes: comments, script, style
<body>
<div>
<section
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 mirador-placeholder-window css-12t7mw9-MuiPaper-root"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-dense mirador-window-top-bar css-1qayod-MuiToolbar-root"
>
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-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="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>
</header>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation6 MuiAlert-root MuiAlert-colorError MuiAlert-filledError MuiAlert-filled css-1m67xtt-MuiPaper-root-MuiAlert-root"
role="alert"
>
<div
class="MuiAlert-icon css-1ytlwq5-MuiAlert-icon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1vooibu-MuiSvgIcon-root"
data-testid="ErrorOutlineIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
</div>
<div
class="MuiAlert-message css-1pxa9xg-MuiAlert-message"
>
An error occurred
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation2 MuiAccordion-root MuiAccordion-gutters css-154pevk-MuiPaper-root-MuiAccordion-root-ErrorContent-accordion"
>
<div
aria-expanded="false"
class="MuiButtonBase-root MuiAccordionSummary-root MuiAccordionSummary-gutters css-ggpn6r-MuiButtonBase-root-MuiAccordionSummary-root"
role="button"
tabindex="0"
>
<div
class="MuiAccordionSummary-content MuiAccordionSummary-contentGutters css-eqpfi5-MuiAccordionSummary-content"
>
Technical details
</div>
<div
class="MuiAccord
|
__tests__/src/components/Window.test.js > Window > should render <WindowTopBar>:
src/containers/PrimaryWindow.js#L16
TestingLibraryElementError: Unable to find an accessible element with the role "navigation"
Here are the accessible roles:
banner:
Name "":
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
/>
--------------------------------------------------
button:
Name "Toggle sidebar":
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
/>
Name "Close window":
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
data-mui-internal-clone-element="true"
tabindex="0"
type="button"
/>
Name "Technical details":
<div
aria-expanded="false"
class="MuiButtonBase-root MuiAccordionSummary-root MuiAccordionSummary-gutters css-ggpn6r-MuiButtonBase-root-MuiAccordionSummary-root"
role="button"
tabindex="0"
/>
--------------------------------------------------
heading:
Name "":
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
--------------------------------------------------
alert:
Name "":
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation6 MuiAlert-root MuiAlert-colorError MuiAlert-filledError MuiAlert-filled css-1m67xtt-MuiPaper-root-MuiAlert-root"
role="alert"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<section
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 mirador-placeholder-window css-12t7mw9-MuiPaper-root"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-dense mirador-window-top-bar css-1qayod-MuiToolbar-root"
>
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-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="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>
|
__tests__/src/components/Window.test.js > Window > should render <PrimaryWindow>:
__tests__/src/components/Window.test.js#L40
Error: expect(received).toBeInTheDocument()
received value must be an HTMLElement or an SVGElement.
❯ __tests__/src/components/Window.test.js:40:63
|
__tests__/src/components/WindowTopMenuButton.test.js > WindowTopMenuButton > the open attribute of the button is applied once it is clicked:
__tests__/src/components/WindowTopMenuButton.test.js#L50
Error: expect(element).toHaveAttribute("aria-owns", "window-menu_xyz") // element.getAttribute("aria-owns") === "window-menu_xyz"
Expected the element to have attribute:
aria-owns="window-menu_xyz"
Received:
aria-owns=":r6:"
❯ __tests__/src/components/WindowTopMenuButton.test.js:50:71
|
__tests__/src/components/Workspace.test.js > Workspace > if workspace type is unknown > should render <Window/> components as list:
__tests__/src/components/Workspace.test.js#L64
TestingLibraryElementError: Unable to find a label with the text of: Window:
Ignored nodes: comments, script, style
<body
class=""
>
<div>
<div
style="height: 100%; width: 100%;"
>
<div
class="mirador-workspace-viewport css-xu2fmc-Workspace-root"
>
<h1
class="MuiTypography-root MuiTypography-body1 css-vvl3q8-MuiTypography-root"
style="border: 0px; height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; white-space: nowrap; width: 1px;"
>
Mirador viewer
</h1>
<section
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 mirador-placeholder-window css-12t7mw9-MuiPaper-root"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-dense mirador-window-top-bar css-1qayod-MuiToolbar-root"
>
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-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="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>
</header>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation6 MuiAlert-root MuiAlert-colorError MuiAlert-filledError MuiAlert-filled css-1m67xtt-MuiPaper-root-MuiAlert-root"
role="alert"
>
<div
class="MuiAlert-icon css-1ytlwq5-MuiAlert-icon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1vooibu-MuiSvgIcon-root"
data-testid="ErrorOutlineIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
</div>
<div
class="MuiAlert-message css-1pxa9xg-MuiAlert-message"
>
An
|
__tests__/src/components/Workspace.test.js > Workspace > if any windows are maximized > should render only maximized <Window/> components:
src/containers/PrimaryWindow.js#L16
TestingLibraryElementError: Unable to find a label with the text of: Window:
Ignored nodes: comments, script, style
<body>
<div>
<div
style="height: 100%; width: 100%;"
>
<div
class="mirador-workspace-viewport css-xu2fmc-Workspace-root"
>
<h1
class="MuiTypography-root MuiTypography-body1 css-vvl3q8-MuiTypography-root"
style="border: 0px; height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; white-space: nowrap; width: 1px;"
>
Mirador viewer
</h1>
<section
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 mirador-placeholder-window css-12t7mw9-MuiPaper-root"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-dense mirador-window-top-bar css-1qayod-MuiToolbar-root"
>
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-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="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>
</header>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation6 MuiAlert-root MuiAlert-colorError MuiAlert-filledError MuiAlert-filled css-1m67xtt-MuiPaper-root-MuiAlert-root"
role="alert"
>
<div
class="MuiAlert-icon css-1ytlwq5-MuiAlert-icon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1vooibu-MuiSvgIcon-root"
data-testid="ErrorOutlineIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
/>
</svg>
</div>
<div
class="MuiAlert-message css-1pxa9xg-MuiAlert-message"
>
An error occurr
|
__tests__/src/components/WorkspaceElastic.test.js > WorkspaceElastic > should render properly with an initialValue:
__tests__/src/components/WorkspaceElastic.test.js#L59
TestingLibraryElementError: Unable to find a label with the text of: Window:
Ignored nodes: comments, script, style
<body
class=""
>
<div>
<div
class="css-1033sl8-WorkspaceElastic-root"
>
<div
style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; z-index: -1; visibility: hidden; pointer-events: none;"
>
<div
style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; z-index: -1; visibility: hidden; pointer-events: none;"
>
<div
style="position: absolute; left: 0px; top: 0px; transition: 0s; width: 100000px; height: 100000px;"
/>
</div>
<div
style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; z-index: -1; visibility: hidden; pointer-events: none;"
>
<div
style="position: absolute; left: 0px; top: 0px; transition: 0s; width: 200%; height: 200%;"
/>
</div>
</div>
<div
class="mirador-workspace css-gqanyh react-draggable"
style="position: absolute; user-select: auto; width: 5000px; height: 5000px; display: inline-block; top: 0px; left: 0px; cursor: move; transform: translate(-5040px,-5040px); max-width: 9007199254740991px; max-height: 9007199254740991px; box-sizing: border-box; flex-shrink: 0;"
>
<div
class="css-15j6zuz react-draggable"
style="position: absolute; user-select: auto; width: 200px; height: 200px; display: inline-block; top: 0px; left: 0px; cursor: auto; transform: translate(NaNpx,NaNpx); max-width: 9007199254740991px; max-height: 9007199254740991px; box-sizing: border-box; flex-shrink: 0;"
>
<section
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 mirador-placeholder-window css-12t7mw9-MuiPaper-root"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-dense mirador-window-top-bar css-1qayod-MuiToolbar-root"
>
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-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="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.5
|
__tests__/src/components/WorkspaceMosaic.test.js > WorkspaceMosaic > tile rendering > when window is available:
__tests__/src/components/WorkspaceMosaic.test.js#L108
TestingLibraryElementError: Unable to find a label with the text of: Window:
Ignored nodes: comments, script, style
<body>
<div>
<div
class="mirador-mosaic css-1su5sse mosaic mosaic-drop-target"
>
<div
class="mosaic-root"
>
<div
class="mosaic-tile"
style="top: 0%; right: 50%; bottom: 0%; left: 0%;"
>
<div
class="mosaic-window mosaic-drop-target"
>
<div
class="mosaic-window-toolbar draggable"
>
<div
class="mosaic-window-title"
draggable="true"
/>
<div
class="mosaic-window-controls"
/>
</div>
<div
class="mosaic-window-body"
>
<section
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 mirador-placeholder-window css-12t7mw9-MuiPaper-root"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-dense mirador-window-top-bar css-1qayod-MuiToolbar-root"
>
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-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="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>
</header>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation6 MuiAlert-root MuiAlert-colorError MuiAlert-filledError MuiAlert-filled css-1m67xtt-MuiPaper-root-MuiAlert-root"
role="alert"
>
<div
class="MuiAlert-icon css-1ytlwq5-MuiAlert-icon"
>
<svg
ar
|
__tests__/src/components/WorkspaceMosaic.test.js > WorkspaceMosaic > mosaicChange > calls the provided prop to update layout:
__tests__/src/components/WorkspaceMosaic.test.js#L144
TestingLibraryElementError: Unable to find a label with the text of: Window navigation
Ignored nodes: comments, script, style
<body>
<div>
<div
class="mirador-mosaic css-1su5sse mosaic mosaic-drop-target"
>
<div
class="mosaic-root"
>
<div
class="mosaic-tile"
style="top: 0%; right: 50%; bottom: 0%; left: 0%;"
>
<div
class="mosaic-window mosaic-drop-target"
>
<div
class="mosaic-window-toolbar draggable"
>
<div
class="mosaic-window-title"
draggable="true"
/>
<div
class="mosaic-window-controls"
/>
</div>
<div
class="mosaic-window-body"
>
<section
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation1 mirador-placeholder-window css-12t7mw9-MuiPaper-root"
>
<header
class="MuiPaper-root MuiPaper-elevation MuiPaper-elevation4 MuiAppBar-root MuiAppBar-colorDefault MuiAppBar-positionRelative css-1m68um0-MuiPaper-root-MuiAppBar-root"
>
<div
class="MuiToolbar-root MuiToolbar-dense mirador-window-top-bar css-1qayod-MuiToolbar-root"
>
<button
aria-label="Toggle sidebar"
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-sizeLarge css-1tjecsd-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-root"
disabled=""
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-i4bv87-MuiSvgIcon-root"
data-testid="MenuSharpIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
/>
</svg>
</button>
<h2
class="MuiTypography-root MuiTypography-h2 MuiTypography-noWrap css-10poyr4-MuiTypography-root"
/>
<button
aria-label="Close window"
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeLarge mirador-window-close css-fv76e7-MuiButtonBase-root-MuiIconButton-root-MiradorMenuButton-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="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>
</header>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation6 MuiAlert-root MuiAlert-colorError MuiAlert-filledError MuiAlert-filled css-1m67xtt-MuiPaper-root-MuiAlert-root"
role="alert"
>
<div
class="MuiAlert-icon css-1ytlwq5-MuiAlert-icon"
>
<svg
|
__tests__/integration/mirador/tests/annotations.test.js > Annotations in Mirador > Loads the manifest:
__tests__/utils/test-utils.js#L98
TestingLibraryElementError: Unable to find role="region" and name `/Window:/i`
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
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-anchorOriginTopRight MuiBadge-anchorOriginTopRightRectangular MuiBadge-overlapRectangular css-dlwkee-MuiBadge-badge"
>
1
</span>
</span>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</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"
|
build (18.x)
The job was canceled because "_20_x" failed.
|
build (18.x)
The operation was canceled.
|
build (22.x)
The job was canceled because "_20_x" failed.
|
build (22.x)
The operation was canceled.
|
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|