feat: ENG-1706: Removing UI buttons, except for zoom and revert. #19
Annotations
12 errors
|
coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json'
|
|
coverage
Failed to parse the json-summary at path "/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json."
Make sure to run vitest before this action and to include the "json-summary" reporter.
Original Error:
Error: ENOENT: no such file or directory, open '/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json'
at async open (node:internal/fs/promises:642:25)
at async readFile (node:internal/fs/promises:1279:14)
at async by (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:2186)
at async PE (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:2267)
at async h2 (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:159:626)
|
|
packages/element/tests/align.test.tsx > aligning > aligns a group with another element correctly to the bottom:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="-8hLxjAon3DNRhBnk9cuS-canvasActions-title"
>
<h2
class="visually-hidden"
id="-8hLxjAon3DNRhBnk9cuS-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
|
|
packages/element/tests/align.test.tsx > aligning > aligns a group with another element correctly to the top:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="c_xjAa5v9F9APx3doT7Vc-canvasActions-title"
>
<h2
class="visually-hidden"
id="c_xjAa5v9F9APx3doT7Vc-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
|
|
packages/element/tests/align.test.tsx > aligning > centers two objects with different sizes correctly horizontally:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="CRWOn_XYw-IDJargX8-oq-canvasActions-title"
>
<h2
class="visually-hidden"
id="CRWOn_XYw-IDJargX8-oq-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
|
|
packages/element/tests/align.test.tsx > aligning > centers two objects with different sizes correctly vertically:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="RXM0P9dVo3np3r8P6fxxU-canvasActions-title"
>
<h2
class="visually-hidden"
id="RXM0P9dVo3np3r8P6fxxU-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
|
|
packages/element/tests/align.test.tsx > aligning > aligns two objects correctly to the right:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="4s7dkKOvWyaN5kk17JrFI-canvasActions-title"
>
<h2
class="visually-hidden"
id="4s7dkKOvWyaN5kk17JrFI-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
|
|
packages/element/tests/align.test.tsx > aligning > aligns two objects correctly to the left:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="smwzH5lydpK5vT1A_Ds99-canvasActions-title"
>
<h2
class="visually-hidden"
id="smwzH5lydpK5vT1A_Ds99-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
|
|
packages/element/tests/align.test.tsx > aligning > aligns two objects correctly to the bottom:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="WqPYKaBbdGTi8gyeQx0IL-canvasActions-title"
>
<h2
class="visually-hidden"
id="WqPYKaBbdGTi8gyeQx0IL-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
|
|
packages/element/tests/align.test.tsx > aligning > aligns two objects correctly to the top:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="m46eehor-IcOeXM0ucRXD-canvasActions-title"
>
<h2
class="visually-hidden"
id="m46eehor-IcOeXM0ucRXD-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
|
|
excalidraw-app/tests/MobileMenu.test.tsx > Test MobileMenu > should initialize with welcome screen and hide once user interacts:
excalidraw-app/tests/MobileMenu.test.tsx#L32
Error: Snapshot `Test MobileMenu > should initialize with welcome screen and hide once user interacts 1` mismatched
- Expected
+ Received
- <div
- class="welcome-screen-center"
- >
- <div
- class="welcome-screen-center__logo excalifont welcome-screen-decor"
- >
- <div
- class="ExcalidrawLogo is-small"
- >
- <svg
- class="ExcalidrawLogo-icon"
- fill="none"
- viewBox="0 0 40 40"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path
- d="M39.9 32.889a.326.326 0 0 0-.279-.056c-2.094-3.083-4.774-6-7.343-8.833l-.419-.472a.212.212 0 0 0-.056-.139.586.586 0 0 0-.167-.111l-.084-.083-.056-.056c-.084-.167-.28-.278-.475-.167-.782.39-1.507.973-2.206 1.528-.92.722-1.842 1.445-2.708 2.25a8.405 8.405 0 0 0-.977 1.028c-.14.194-.028.361.14.444-.615.611-1.23 1.223-1.843 1.861a.315.315 0 0 0-.084.223c0 .083.056.166.111.194l1.09.833v.028c1.535 1.528 4.244 3.611 7.12 5.861.418.334.865.667 1.284 1 .195.223.39.473.558.695.084.11.28.139.391.055.056.056.14.111.196.167a.398.398 0 0 0 .167.056.255.255 0 0 0 .224-.111.394.394 0 0 0 .055-.167c.029 0 .028.028.056.028a.318.318 0 0 0 .224-.084l5.082-5.528a.309.309 0 0 0 0-.444Zm-14.63-1.917a.485.485 0 0 0 .111.14c.586.5 1.2 1 1.843 1.555l-2.569-1.945-.251-.166c-.056-.028-.112-.084-.168-.111l-.195-.167.056-.056.055-.055.112-.111c.866-.861 2.346-2.306 3.1-3.028-.81.805-2.43 3.167-2.095 3.944Zm8.767 6.89-2.122-1.612a44.713 44.713 0 0 0-2.625-2.5c1.145.861 2.122 1.611 2.262 1.75 1.117.972 1.06.806 1.815 1.445l.921.666a1.06 1.06 0 0 1-.251.25Zm.558.416-.056-.028c.084-.055.168-.111.252-.194l-.196.222ZM1.089 5.75c.055.361.14.722.195 1.056.335 1.833.67 3.5 1.284 4.75l.252.944c.084.361.223.806.363.917 1.424 1.25 3.602 3.11 5.947 4.889a.295.295 0 0 0 .363 0s0 .027.028.027a.254.254 0 0 0 .196.084.318.318 0 0 0 .223-.084c2.988-3.305 5.221-6.027 6.813-8.305.112-.111.14-.278.14-.417.111-.111.195-.25.307-.333.111-.111.111-.306 0-.39l-.028-.027c0-.055-.028-.139-.084-.167-.698-.666-1.2-1.138-1.731-1.638-.922-.862-1.871-1.75-3.881-3.75l-.028-.028c-.028-.028-.056-.056-.112-.056-.558-.194-1.703-.389-3.127-.639C6.087 2.223 3.21 1.723.614.944c0 0-.168 0-.196.028l-.083.084c-.028.027-.056.055-.224.11h.056-.056c.028.167.028.278.084.473 0 .055.112.5.112.555l.782 3.556Zm15.496 3.278-.335-.334c.084.112.196.195.335.334Zm-3.546 4.666-.056.056c0-.028.028-.056.056-.056Zm-2.038-10c.168.167.866.834 1.033.973-.726-.334-2.54-1.167-3.379-1.445.838.167 1.983.334 2.346.472ZM1.424 2.306c.419.722.754 3.222 1.089 5.666-.196-.778-.335-1.555-.503-2.278-.251-1.277-.503-2.416-.838-3.416.056 0 .14 0 .252.028Zm-.168-.584c-.112 0-.223-.028-.307-.028 0-.027 0-.055-.028-.055.14 0 .223.028.335.083Zm-1.089.222c0-.027 0-.027 0 0ZM39.453 1.333c.028-.11-.558-.61-.363-.639.42-.027.42-.666 0-.666-.558.028-1.144.166-1.675.25-.977.194-1.982.389-2.96.61-2.205.473-4.383.973-6.561 1.557-.67.194-1.424.333-2.066.666-.224.111-.196.333-.084.472-.056.028-.084.028-.14.056-.195.028-.363.056-.558.083-.168.028-.252.167-.224.334 0 .027.028.083.028.11-1.173 1.556-2.485 3.195-3.909 4.945-1.396 1.611-2.876 3.306-4.356 5.056-4.719 5.5-10.052 11.75-15.943 17.25a.268.268 0 0 0 0 .389c.028.027.056.055.084.055-.084.084-.168.14-.252.222-.056.056-.084.111-.084.167a.605.605 0 0 0-.111.139c-.112.111-.112.305.028.389.111.11.307.11.39-.028.029-.028.029-.056.056-.056a.44.44 0 0 1 .615 0c.335.362.67.723.977 1.028l-.698-.583c-.112-.111-.307-.083-.39.028-.113.11-.085.305.027.389l7.427 6.194c.056.056.112.056.196.056s.14-.028.195-.084l.168-.166c.028.027.083.027.111.027.084 0 .14-.027.196-.083 10.052-10.055 18.15-17.639 27.42-24.417.083-.055.111-.166.111-.25.112 0 .196-.083.251-.194 1.704-5.194 2.039-9.806 2.15-12.083v-.028c0-.028.028-.056.028-.083.028-.056.028-.084.028-.084a1.626 1.626 0 0 0-.111-1.028ZM21.472 9.5c.446-.5.893-1.028 1.34-1.5-2.876 3.778-7.65 9.583-14.408 16.5 4.607-5.083 9.242-10.333 13.068-15ZM5.193 35.778h.084-.084Zm3.462 3.194c-.027-.028-.027-.028 0-.028v.028Zm4.16-3.583c.224-.25.448-.472.699-.722 0 0 0 .027.028.027-.252.223-.475.445-.726.695Zm1.146-1.111c.14-.14.279-.334.446-.5l.028-.028c1.648
|
|
excalidraw-app/tests/LanguageList.test.tsx > Test LanguageList > rerenders UI on language change:
packages/excalidraw/tests/queries/toolQueries.ts#L9
TestingLibraryElementError: Unable to find an element by: [data-testid="toolbar-rectangle"]
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div>
<div
class="excalidraw-app"
style="height: 100%;"
>
<div
class="excalidraw excalidraw-container notranslate"
style="--ui-pointerEvents: all; --right-sidebar-width: 302px;"
tabindex="0"
translate="no"
>
<div
class="layer-ui__wrapper"
>
<footer
class="layer-ui__wrapper__footer App-menu App-menu_bottom"
role="contentinfo"
>
<div
class="layer-ui__wrapper__footer-left zen-mode-transition"
>
<div
class="Stack Stack_vertical"
style="--gap: 2;"
>
<section
aria-labelledby="V96x4wyjmIDB2mneIwIAK-canvasActions-title"
>
<h2
class="visually-hidden"
id="V96x4wyjmIDB2mneIwIAK-canvasActions-title"
>
Canvas actions
</h2>
<div
class="Stack Stack_vertical zoom-actions"
style="--gap: 1;"
>
<div
class="Stack Stack_horizontal"
style="align-items: center;"
>
<button
aria-label="Zoom out"
class="ToolIcon_type_button ToolIcon_size_medium zoom-out-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom out — Ctrl+-"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
viewBox="0 0 20 20"
>
<path
d="M5 10h10"
stroke-width="1.25"
/>
</svg>
</div>
</button>
<div
class="excalidraw-tooltip-wrapper"
style="height: 100%;"
>
<button
aria-label="Reset zoom"
class="ToolIcon_type_button ToolIcon_size_medium reset-zoom-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Reset zoom"
type="button"
>
100
%
</button>
</div>
<button
aria-label="Zoom in"
class="ToolIcon_type_button ToolIcon_size_medium zoom-in-button zoom-button ToolIcon_type_button--show ToolIcon"
title="Zoom in — Ctrl++"
type="button"
>
<div
aria-disabled="false"
aria-hidden="true"
class="ToolIcon__icon"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
|