fix: remove parantheses for encryptedIcon (#11) #9
Annotations
10 errors
excalidraw-app/tests/LanguageList.test.tsx#L19
AssertionError: expected null not to be null
❯ excalidraw-app/tests/LanguageList.test.tsx:19:46
|
excalidraw-app/tests/MobileMenu.test.tsx#L47
Error: Snapshot `Test MobileMenu > should initialize with welcome screen and hide once user interacts 1` mismatched
- Expected
+ Received
@@ -1,55 +1,12 @@
<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-
|
packages/utils/export.test.ts#L92
Error: Snapshot `exportToSvg > with default arguments 1` mismatched
- Expected
+ Received
@@ -35,10 +35,12 @@
"exportBackground": true,
"exportEmbedScene": false,
"exportPadding": undefined,
"exportScale": 1,
"exportWithDarkMode": false,
+ "featureFlagLibraryButton": false,
+ "featureFlagWelcomeScreen": false,
"fileHandle": null,
"followedBy": Set {},
"frameRendering": {
"clip": true,
"enabled": true,
❯ packages/utils/export.test.ts:92:38
|
packages/excalidraw/tests/helpers/ui.ts#L422
TestingLibraryElementError: Unable to find an element with the title: Architect.
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div>
<div
class="excalidraw excalidraw-container"
style="--ui-pointerEvents: all;"
tabindex="0"
>
<div
class="layer-ui__wrapper"
>
<div
class="FixedSideContainer FixedSideContainer_side_top"
>
<div
class="App-menu App-menu_top"
>
<div
class="Stack Stack_vertical App-menu_top__left"
style="--gap: 6;"
>
<div
style="position: relative;"
>
<button
class="dropdown-menu-button main-menu-trigger zen-mode-transition"
data-prevent-outside-click="true"
data-testid="main-menu-trigger"
type="button"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
>
<g
stroke-width="1.5"
>
<path
d="M0 0h24v24H0z"
fill="none"
stroke="none"
/>
<line
x1="4"
x2="20"
y1="6"
y2="6"
/>
<line
x1="4"
x2="20"
y1="12"
y2="12"
/>
<line
x1="4"
x2="20"
y1="18"
y2="18"
/>
</g>
</svg>
</button>
</div>
<section
aria-labelledby="9jK2QYYA14xp9_wYHNmxw-selectedShapeActions-title"
class="selected-shape-actions zen-mode-transition"
>
<h2
class="visually-hidden"
id="9jK2QYYA14xp9_wYHNmxw-selectedShapeActions-title"
>
Aktionen für Auswahl
</h2>
<div
class="Island App-menu__left"
style="--padding: 2; max-height: 834px;"
>
<div
class="panelColumn"
>
<div>
<h3
aria-hidden="true"
>
Strich
</h3>
<div>
<div
aria-modal="true"
class="color-picker-container"
role="dialog"
>
<div
class="color-picker__top-picks"
>
<button
class="color-picker__button active"
data-testid="color-top-pick-#1e1e1e"
style="--swatch-color: #1e1e1e;"
title="#1e1e1e"
type="button"
>
<div
class="color-picker__button-outline"
/>
</button>
<button
class="color-picker__button"
data-testid="color-top-pick-
|
packages/excalidraw/tests/helpers/ui.ts#L422
TestingLibraryElementError: Unable to find an element with the title: Architect.
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container"
style="--ui-pointerEvents: all;"
tabindex="0"
>
<div
class="layer-ui__wrapper"
>
<div
class="FixedSideContainer FixedSideContainer_side_top"
>
<div
class="App-menu App-menu_top"
>
<div
class="Stack Stack_vertical App-menu_top__left"
style="--gap: 6;"
>
<div
style="position: relative;"
>
<button
class="dropdown-menu-button main-menu-trigger zen-mode-transition"
data-prevent-outside-click="true"
data-testid="main-menu-trigger"
type="button"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
>
<g
stroke-width="1.5"
>
<path
d="M0 0h24v24H0z"
fill="none"
stroke="none"
/>
<line
x1="4"
x2="20"
y1="6"
y2="6"
/>
<line
x1="4"
x2="20"
y1="12"
y2="12"
/>
<line
x1="4"
x2="20"
y1="18"
y2="18"
/>
</g>
</svg>
</button>
</div>
<section
aria-labelledby="iTdB2TMamEm9uqNd3LKWh-selectedShapeActions-title"
class="selected-shape-actions zen-mode-transition"
>
<h2
class="visually-hidden"
id="iTdB2TMamEm9uqNd3LKWh-selectedShapeActions-title"
>
Aktionen für Auswahl
</h2>
<div
class="Island App-menu__left"
style="--padding: 2; max-height: 834px;"
>
<div
class="panelColumn"
>
<div>
<h3
aria-hidden="true"
>
Strich
</h3>
<div>
<div
aria-modal="true"
class="color-picker-container"
role="dialog"
>
<div
class="color-picker__top-picks"
>
<button
class="color-picker__button active"
data-testid="color-top-pick-#1e1e1e"
style="--swatch-color: #1e1e1e;"
title="#1e1e1e"
type="button"
>
<div
class="color-picker__button-outline"
/>
</button>
<button
class="color-picker__button"
|
packages/excalidraw/tests/helpers/ui.ts#L422
TestingLibraryElementError: Unable to find an element with the title: Architect.
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container"
style="--ui-pointerEvents: all;"
tabindex="0"
>
<div
class="layer-ui__wrapper"
>
<div
class="FixedSideContainer FixedSideContainer_side_top"
>
<div
class="App-menu App-menu_top"
>
<div
class="Stack Stack_vertical App-menu_top__left"
style="--gap: 6;"
>
<div
style="position: relative;"
>
<button
class="dropdown-menu-button main-menu-trigger zen-mode-transition"
data-prevent-outside-click="true"
data-testid="main-menu-trigger"
type="button"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
>
<g
stroke-width="1.5"
>
<path
d="M0 0h24v24H0z"
fill="none"
stroke="none"
/>
<line
x1="4"
x2="20"
y1="6"
y2="6"
/>
<line
x1="4"
x2="20"
y1="12"
y2="12"
/>
<line
x1="4"
x2="20"
y1="18"
y2="18"
/>
</g>
</svg>
</button>
</div>
<section
aria-labelledby="R0zHEney7ESqZfLI8vtQF-selectedShapeActions-title"
class="selected-shape-actions zen-mode-transition"
>
<h2
class="visually-hidden"
id="R0zHEney7ESqZfLI8vtQF-selectedShapeActions-title"
>
Aktionen für Auswahl
</h2>
<div
class="Island App-menu__left"
style="--padding: 2; max-height: 834px;"
>
<div
class="panelColumn"
>
<div>
<h3
aria-hidden="true"
>
Strich
</h3>
<div>
<div
aria-modal="true"
class="color-picker-container"
role="dialog"
>
<div
class="color-picker__top-picks"
>
<button
class="color-picker__button active"
data-testid="color-top-pick-#1e1e1e"
style="--swatch-color: #1e1e1e;"
title="#1e1e1e"
type="button"
>
<div
class="color-picker__button-outline"
/>
</button>
<button
class="color-picker__button"
|
packages/excalidraw/tests/helpers/ui.ts#L422
TestingLibraryElementError: Unable to find an element with the title: Architect.
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container"
style="--ui-pointerEvents: all;"
tabindex="0"
>
<div
class="layer-ui__wrapper"
>
<div
class="FixedSideContainer FixedSideContainer_side_top"
>
<div
class="App-menu App-menu_top"
>
<div
class="Stack Stack_vertical App-menu_top__left"
style="--gap: 6;"
>
<div
style="position: relative;"
>
<button
class="dropdown-menu-button main-menu-trigger zen-mode-transition"
data-prevent-outside-click="true"
data-testid="main-menu-trigger"
type="button"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
>
<g
stroke-width="1.5"
>
<path
d="M0 0h24v24H0z"
fill="none"
stroke="none"
/>
<line
x1="4"
x2="20"
y1="6"
y2="6"
/>
<line
x1="4"
x2="20"
y1="12"
y2="12"
/>
<line
x1="4"
x2="20"
y1="18"
y2="18"
/>
</g>
</svg>
</button>
</div>
<section
aria-labelledby="xfYzA8SwQhtHNqQ2SC7ev-selectedShapeActions-title"
class="selected-shape-actions zen-mode-transition"
>
<h2
class="visually-hidden"
id="xfYzA8SwQhtHNqQ2SC7ev-selectedShapeActions-title"
>
Aktionen für Auswahl
</h2>
<div
class="Island App-menu__left"
style="--padding: 2; max-height: 834px;"
>
<div
class="panelColumn"
>
<div>
<h3
aria-hidden="true"
>
Strich
</h3>
<div>
<div
aria-modal="true"
class="color-picker-container"
role="dialog"
>
<div
class="color-picker__top-picks"
>
<button
class="color-picker__button active"
data-testid="color-top-pick-#1e1e1e"
style="--swatch-color: #1e1e1e;"
title="#1e1e1e"
type="button"
>
<div
class="color-picker__button-outline"
/>
</button>
<button
class="color-picker__button"
|
packages/excalidraw/tests/helpers/ui.ts#L422
TestingLibraryElementError: Unable to find an element with the title: Architect.
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container"
style="--ui-pointerEvents: all;"
tabindex="0"
>
<div
class="layer-ui__wrapper"
>
<div
class="FixedSideContainer FixedSideContainer_side_top"
>
<div
class="App-menu App-menu_top"
>
<div
class="Stack Stack_vertical App-menu_top__left"
style="--gap: 6;"
>
<div
style="position: relative;"
>
<button
class="dropdown-menu-button main-menu-trigger zen-mode-transition"
data-prevent-outside-click="true"
data-testid="main-menu-trigger"
type="button"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
>
<g
stroke-width="1.5"
>
<path
d="M0 0h24v24H0z"
fill="none"
stroke="none"
/>
<line
x1="4"
x2="20"
y1="6"
y2="6"
/>
<line
x1="4"
x2="20"
y1="12"
y2="12"
/>
<line
x1="4"
x2="20"
y1="18"
y2="18"
/>
</g>
</svg>
</button>
</div>
<section
aria-labelledby="2PykdPeYhWBNCB5uFxUG--selectedShapeActions-title"
class="selected-shape-actions zen-mode-transition"
>
<h2
class="visually-hidden"
id="2PykdPeYhWBNCB5uFxUG--selectedShapeActions-title"
>
Aktionen für Auswahl
</h2>
<div
class="Island App-menu__left"
style="--padding: 2; max-height: 834px;"
>
<div
class="panelColumn"
>
<div>
<h3
aria-hidden="true"
>
Strich
</h3>
<div>
<div
aria-modal="true"
class="color-picker-container"
role="dialog"
>
<div
class="color-picker__top-picks"
>
<button
class="color-picker__button active"
data-testid="color-top-pick-#1e1e1e"
style="--swatch-color: #1e1e1e;"
title="#1e1e1e"
type="button"
>
<div
class="color-picker__button-outline"
/>
</button>
<button
class="color-picker__button"
|
packages/excalidraw/tests/helpers/ui.ts#L422
TestingLibraryElementError: Unable to find an element with the title: Architect.
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container"
style="--ui-pointerEvents: all;"
tabindex="0"
>
<div
class="layer-ui__wrapper"
>
<div
class="FixedSideContainer FixedSideContainer_side_top"
>
<div
class="App-menu App-menu_top"
>
<div
class="Stack Stack_vertical App-menu_top__left"
style="--gap: 6;"
>
<div
style="position: relative;"
>
<button
class="dropdown-menu-button main-menu-trigger zen-mode-transition"
data-prevent-outside-click="true"
data-testid="main-menu-trigger"
type="button"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
>
<g
stroke-width="1.5"
>
<path
d="M0 0h24v24H0z"
fill="none"
stroke="none"
/>
<line
x1="4"
x2="20"
y1="6"
y2="6"
/>
<line
x1="4"
x2="20"
y1="12"
y2="12"
/>
<line
x1="4"
x2="20"
y1="18"
y2="18"
/>
</g>
</svg>
</button>
</div>
<section
aria-labelledby="7d12mEb4H1vDreK4b4T_C-selectedShapeActions-title"
class="selected-shape-actions zen-mode-transition"
>
<h2
class="visually-hidden"
id="7d12mEb4H1vDreK4b4T_C-selectedShapeActions-title"
>
Aktionen für Auswahl
</h2>
<div
class="Island App-menu__left"
style="--padding: 2; max-height: 834px;"
>
<div
class="panelColumn"
>
<div>
<h3
aria-hidden="true"
>
Strich
</h3>
<div>
<div
aria-modal="true"
class="color-picker-container"
role="dialog"
>
<div
class="color-picker__top-picks"
>
<button
class="color-picker__button active"
data-testid="color-top-pick-#1e1e1e"
style="--swatch-color: #1e1e1e;"
title="#1e1e1e"
type="button"
>
<div
class="color-picker__button-outline"
/>
</button>
<button
class="color-picker__button"
|
packages/excalidraw/tests/helpers/ui.ts#L422
TestingLibraryElementError: Unable to find an element with the title: Architect.
Ignored nodes: comments, script, style
<body>
<div
id="root"
/>
<div
class="excalidraw-tooltip"
/>
<div>
<div
class="excalidraw excalidraw-container"
style="--ui-pointerEvents: all;"
tabindex="0"
>
<div
class="layer-ui__wrapper"
>
<div
class="FixedSideContainer FixedSideContainer_side_top"
>
<div
class="App-menu App-menu_top"
>
<div
class="Stack Stack_vertical App-menu_top__left"
style="--gap: 6;"
>
<div
style="position: relative;"
>
<button
class="dropdown-menu-button main-menu-trigger zen-mode-transition"
data-prevent-outside-click="true"
data-testid="main-menu-trigger"
type="button"
>
<svg
aria-hidden="true"
class=""
fill="none"
focusable="false"
role="img"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
viewBox="0 0 24 24"
>
<g
stroke-width="1.5"
>
<path
d="M0 0h24v24H0z"
fill="none"
stroke="none"
/>
<line
x1="4"
x2="20"
y1="6"
y2="6"
/>
<line
x1="4"
x2="20"
y1="12"
y2="12"
/>
<line
x1="4"
x2="20"
y1="18"
y2="18"
/>
</g>
</svg>
</button>
</div>
<section
aria-labelledby="pgE-eSIOza0v90zaaqyUz-selectedShapeActions-title"
class="selected-shape-actions zen-mode-transition"
>
<h2
class="visually-hidden"
id="pgE-eSIOza0v90zaaqyUz-selectedShapeActions-title"
>
Aktionen für Auswahl
</h2>
<div
class="Island App-menu__left"
style="--padding: 2; max-height: 834px;"
>
<div
class="panelColumn"
>
<div>
<h3
aria-hidden="true"
>
Strich
</h3>
<div>
<div
aria-modal="true"
class="color-picker-container"
role="dialog"
>
<div
class="color-picker__top-picks"
>
<button
class="color-picker__button active"
data-testid="color-top-pick-#1e1e1e"
style="--swatch-color: #1e1e1e;"
title="#1e1e1e"
type="button"
>
<div
class="color-picker__button-outline"
/>
</button>
<button
class="color-picker__button"
|
This job failed
Loading