Skip to content

Update Excalidraw to latest master branch #15

Update Excalidraw to latest master branch

Update Excalidraw to latest master branch #15

Triggered via pull request December 23, 2024 10:41
Status Failure
Total duration 3m 35s
Artifacts

test-coverage-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should support linear element creation and points manipulation through the editor: packages/excalidraw/tests/history.test.tsx#L56
Error: Snapshot `history > singleplayer undo/redo > should support linear element creation and points manipulation through the editor > [end of test] number of renders 1` mismatched Expected: "21" Received: "9" ❯ checkpoint packages/excalidraw/tests/history.test.tsx:56:47 ❯ packages/excalidraw/tests/history.test.tsx:92:5
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should create entry when selecting freedraw: packages/excalidraw/tests/helpers/ui.ts#L415
TestingLibraryElementError: Found multiple elements with tool name: rectangle Here are the matching elements: Ignored nodes: comments, script, style <input aria-keyshortcuts="R or 2" aria-label="Rectangle" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-rectangle" id="NEPwKny2R5RZSDWIowJlh-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="R or 2" aria-label="Rectangle" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-rectangle" id="r-avWzZhU9ELvHkQK2qAI-undefined" name="editor-current-shape" type="radio" /> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). 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="NEPwKny2R5RZSDWIowJlh-selectedShapeActions-title" class="selected-shape-actions zen-mode-transition" > <h2 class="visually-hidden" id="NEPwKny2R5RZSDWIowJlh-selectedShapeActions-title" > Selected shape actions </h2> <div class="Island App-menu__left" style="--padding: 2; max-height: -166px;" > <div class="panelColumn" > <div> <h3 aria-hidden="true" > Stroke </h3> <div> <div aria-modal="true" class="color-picker-container" role="dialog" > <div
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should create entry when selecting freedraw: packages/excalidraw/tests/history.test.tsx#L56
Error: Snapshot `history > singleplayer undo/redo > should create entry when selecting freedraw > [end of test] number of renders 1` mismatched Expected: "12" Received: "3" ❯ checkpoint packages/excalidraw/tests/history.test.tsx:56:47 ❯ packages/excalidraw/tests/history.test.tsx:92:5
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should support duplication of groups, appstate group selection and editing group: packages/excalidraw/tests/history.test.tsx#L56
Error: Snapshot `history > singleplayer undo/redo > should support duplication of groups, appstate group selection and editing group > [end of test] number of renders 1` mismatched Expected: "18" Received: "30" ❯ checkpoint packages/excalidraw/tests/history.test.tsx:56:47 ❯ packages/excalidraw/tests/history.test.tsx:92:5
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should support changes in elements' order: packages/excalidraw/tests/helpers/ui.ts#L415
TestingLibraryElementError: Found multiple elements with tool name: rectangle Here are the matching elements: Ignored nodes: comments, script, style <input aria-keyshortcuts="R or 2" aria-label="Rectangle" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-rectangle" id="NEPwKny2R5RZSDWIowJlh-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="R or 2" aria-label="Rectangle" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-rectangle" id="r-avWzZhU9ELvHkQK2qAI-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="R or 2" aria-label="Rectangle" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-rectangle" id="IV0Rlso3WI4K4GydzxVaY-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="R or 2" aria-label="Rectangle" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-rectangle" id="GvCLn3T9AgMUYq6MPRS9R-undefined" name="editor-current-shape" type="radio" /> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). 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="NEPwKny2R5RZSDWIowJlh-selectedShapeActions-title" class="selected-shape-actions zen-mode-transition" > <h2 class="visually-hidden" id="NEPwKny2R5RZSDWIowJlh-selectedShapeActions-title" > Selected shape actions </h2> <div class="Island App-menu__left" style="--padding: 2; max-height: -166px;"
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should support changes in elements' order: packages/excalidraw/tests/history.test.tsx#L56
Error: Snapshot `history > singleplayer undo/redo > should support changes in elements' order > [end of test] number of renders 1` mismatched Expected: "20" Received: "3" ❯ checkpoint packages/excalidraw/tests/history.test.tsx:56:47 ❯ packages/excalidraw/tests/history.test.tsx:92:5
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should support bidirectional bindings > should unbind arrow from non deleted bindable elements on undo and rebind on redo: packages/excalidraw/tests/helpers/ui.ts#L415
TestingLibraryElementError: Found multiple elements with tool name: arrow Here are the matching elements: Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="NEPwKny2R5RZSDWIowJlh-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="r-avWzZhU9ELvHkQK2qAI-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="IV0Rlso3WI4K4GydzxVaY-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="GvCLn3T9AgMUYq6MPRS9R-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="N4HDv3LEmMh4rb7kHU7pB-undefined" name="editor-current-shape" type="radio" /> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). 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="NEPwKny2R5RZSDWIowJlh-selectedShapeActions-title" class="selected-shape-actions zen-mode-transition" > <h2 class="visually-hidden" id="NEPwKny2R5RZSDWIowJlh-selectedSha
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should support bidirectional bindings > should unbind arrow from non deleted bindable elements on undo and rebind on redo: packages/excalidraw/tests/history.test.tsx#L56
Error: Snapshot `history > singleplayer undo/redo > should support bidirectional bindings > should unbind arrow from non deleted bindable elements on undo and rebind on redo > [end of test] number of renders 1` mismatched Expected: "12" Received: "7" ❯ checkpoint packages/excalidraw/tests/history.test.tsx:56:47 ❯ packages/excalidraw/tests/history.test.tsx:92:5
packages/excalidraw/tests/history.test.tsx > history > singleplayer undo/redo > should support bidirectional bindings > should unbind arrow from non deleted bindable elements on deletion and rebind on undo: packages/excalidraw/tests/helpers/ui.ts#L415
TestingLibraryElementError: Found multiple elements with tool name: arrow Here are the matching elements: Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="NEPwKny2R5RZSDWIowJlh-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="r-avWzZhU9ELvHkQK2qAI-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="IV0Rlso3WI4K4GydzxVaY-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="GvCLn3T9AgMUYq6MPRS9R-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="N4HDv3LEmMh4rb7kHU7pB-undefined" name="editor-current-shape" type="radio" /> Ignored nodes: comments, script, style <input aria-keyshortcuts="A or 5" aria-label="Arrow" class="ToolIcon_type_radio ToolIcon_size_medium" data-testid="toolbar-arrow" id="ozYLOZJ_1eqDnPRaLkAOT-undefined" name="editor-current-shape" type="radio" /> (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)). 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 ar
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:639:25) at async readFile (node:internal/fs/promises:1242:14) at async Iy (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:797) at async mu (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:71:878) at async uq (/home/runner/work/_actions/davelosert/vitest-coverage-report-action/v2/dist/index.js:149:626)
coverage
Error: ENOENT: no such file or directory, open '/home/runner/work/excalidraw/excalidraw/coverage/coverage-summary.json'
coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636