Skip to content

stuff

stuff #1198

Triggered via push June 11, 2024 17:24
Status Failure
Total duration 2m 46s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
packages/excalidraw/tests/excalidraw.test.tsx > <Excalidraw/> > Test UIOptions prop > Test canvasActions > should render menu with default items when "UIOPtions" is "undefined": packages/excalidraw/tests/excalidraw.test.tsx#L136
Error: Snapshot `<Excalidraw/> > Test UIOptions prop > Test canvasActions > should render menu with default items when "UIOPtions" is "undefined" 1` mismatched - Expected + Received @@ -43,14 +43,14 @@ > Ctrl+O </div> </button> <button - aria-label="Save to..." + aria-label="Save to file..." class="dropdown-menu-item dropdown-menu-item-base" data-testid="json-export-button" - title="Save to..." + title="Save to file..." type="button" > <div class="dropdown-menu-item__icon" > @@ -72,11 +72,11 @@ </svg> </div> <div class="dropdown-menu-item__text" > - Save to... + Save to file... </div> </button> <button aria-label="Export image..." class="dropdown-menu-item dropdown-menu-item-base" ❯ packages/excalidraw/tests/excalidraw.test.tsx:136:59
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind bindings when both are updated through the history and there are no conflicting updates in the meantime: packages/excalidraw/tests/history.test.tsx#L66
Error: Snapshot `history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind bindings when both are updated through the history and there are no conflicting updates in the meantime > [end of test] history 1` mismatched - Expected + Received @@ -95,15 +95,16 @@ 100, 0, ], ], "startBinding": null, + "y": 0, }, "inserted": { "endBinding": { "elementId": "id157", - "focus": 0, + "focus": "-0.00000", "gap": 1, }, "points": [ [ 0, @@ -114,13 +115,14 @@ 0, ], ], "startBinding": { "elementId": "id156", - "focus": 0, + "focus": "0.00000", "gap": 1, }, + "y": "0.00000", }, }, }, }, }, ❯ checkpoint packages/excalidraw/tests/history.test.tsx:66:21 ❯ packages/excalidraw/tests/history.test.tsx:90:5
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind bindings when both are updated through the history and the arrow got bound to a different element in the meantime: packages/excalidraw/tests/helpers/ui.ts#L395
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="oydpvbjLvZcAgsTJqdKBA-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="bsNcDiHTasM_M2y5psX7B-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="oydpvbjLvZcAgsTJqdKBA-selectedShapeActions-title" class="selected-shape-actions zen-mode-transition" > <h2 class="visually-hidden" id="oydpvbjLvZcAgsTJqdKBA-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 class=
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind bindings when both are updated through the history and the arrow got bound to a different element in the meantime: packages/excalidraw/tests/history.test.tsx#L54
Error: Snapshot `history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind bindings when both are updated through the history and the arrow got bound to a different element in the meantime > [end of test] number of renders 1` mismatched - Expected + Received - 22 + 4 ❯ checkpoint packages/excalidraw/tests/history.test.tsx:54:47 ❯ packages/excalidraw/tests/history.test.tsx:90:5
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind remotely added arrow when it's bindable elements are added through the history: packages/excalidraw/tests/history.test.tsx#L54
Error: Snapshot `history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind remotely added arrow when it's bindable elements are added through the history > [end of test] number of renders 1` mismatched - Expected + Received - 9 + 17 ❯ checkpoint packages/excalidraw/tests/history.test.tsx:54:47 ❯ packages/excalidraw/tests/history.test.tsx:90:5
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind remotely added bindable elements when it's arrow is added through the history: packages/excalidraw/tests/history.test.tsx#L54
Error: Snapshot `history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should rebind remotely added bindable elements when it's arrow is added through the history > [end of test] number of renders 1` mismatched - Expected + Received - 11 + 24 ❯ checkpoint packages/excalidraw/tests/history.test.tsx:54:47 ❯ packages/excalidraw/tests/history.test.tsx:90:5
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should unbind remotely deleted bindable elements from arrow when the arrow is added through the history: packages/excalidraw/tests/history.test.tsx#L66
Error: Snapshot `history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should unbind remotely deleted bindable elements from arrow when the arrow is added through the history > [end of test] history 1` mismatched - Expected + Received @@ -15,11 +15,11 @@ }, }, "elementsChange": ElementsChange { "added": Map {}, "removed": Map { - "id173" => Delta { + "id169" => Delta { "deleted": { "angle": 0, "backgroundColor": "transparent", "boundElements": null, "customData": undefined, @@ -46,11 +46,11 @@ }, "inserted": { "isDeleted": true, }, }, - "id174" => Delta { + "id170" => Delta { "deleted": { "angle": 0, "backgroundColor": "transparent", "boundElements": null, "customData": undefined, ❯ checkpoint packages/excalidraw/tests/history.test.tsx:66:21 ❯ packages/excalidraw/tests/history.test.tsx:90:5
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should update bound element points when rectangle was remotely moved and arrow is added back through the history: packages/excalidraw/tests/helpers/ui.ts#L395
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="oydpvbjLvZcAgsTJqdKBA-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="bsNcDiHTasM_M2y5psX7B-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="2ywffajS7XfPwNiTjZb7G-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="QjIkBnyWq4IzJ-PUXlVxl-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="Od0zuWBzdf3aNQlgxY80d-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="h6iy1Oca4GCmJH-dbaQOb-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> </div> <section
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should update bound element points when rectangle was remotely moved and arrow is added back through the history: packages/excalidraw/tests/history.test.tsx#L54
Error: Snapshot `history > multiplayer undo/redo > conflicts in arrows and their bindable elements > should update bound element points when rectangle was remotely moved and arrow is added back through the history > [end of test] number of renders 1` mismatched - Expected + Received - 10 + 4 ❯ checkpoint packages/excalidraw/tests/history.test.tsx:54:47 ❯ packages/excalidraw/tests/history.test.tsx:90:5
packages/excalidraw/tests/history.test.tsx > history > multiplayer undo/redo > conflicts in frames and their children > should not rebind frame child with frame when frame was remotely deleted and frame child is added back through the history : packages/excalidraw/tests/history.test.tsx#L54
Error: Snapshot `history > multiplayer undo/redo > conflicts in frames and their children > should not rebind frame child with frame when frame was remotely deleted and frame child is added back through the history > [end of test] number of renders 1` mismatched - Expected + Received - 13 + 38 ❯ checkpoint packages/excalidraw/tests/history.test.tsx:54:47 ❯ packages/excalidraw/tests/history.test.tsx:90:5
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/