Skip to content

Update: ShadowRoot support #2667

Update: ShadowRoot support

Update: ShadowRoot support #2667

Re-run triggered June 19, 2024 05:15
Status Failure
Total duration 10m 50s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 1 notice
[chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks: tests/src/utils/editor.ts#L37
1) [chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 21 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 12 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 3 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-chromium/dragdropsingle-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts:41:5
[chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks: tests/src/utils/editor.ts#L37
1) [chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 21 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 12 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 3 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-chromium-retry1/dragdropsingle-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts:41:5
[chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks: tests/src/utils/editor.ts#L37
1) [chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 21 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 12 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 3 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-chromium-retry2/dragdropsingle-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts:41:5
[chromium] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image: tests/src/utils/editor.ts#L37
2) [chromium] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "headingimage", "attrs": { "textAlignment": "left", "level": 1name": "", }, "content": [ "url": "", { "caption": "", "type": "text", "text": "Heading" } ]showPreview": true, "previewWidth": 512 } } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "imageheading", "attrs": { "textAlignment": "left", "name": "",level": 1 "url": ""}, "caption": "", "showPreview": true, "previewWidth": 512 }"content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-chromium/dragImage-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:134:5
[chromium] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image: tests/src/utils/editor.ts#L37
2) [chromium] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "headingimage", "attrs": { "textAlignment": "left", "level": 1name": "", }, "content": [ "url": "", { "caption": "", "type": "text", "text": "Heading" } ]showPreview": true, "previewWidth": 512 } } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "imageheading", "attrs": { "textAlignment": "left", "name": "",level": 1 "url": ""}, "caption": "", "showPreview": true, "previewWidth": 512 }"content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-chromium-retry1/dragImage-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:134:5
[chromium] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image: tests/src/utils/editor.ts#L37
2) [chromium] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "headingimage", "attrs": { "textAlignment": "left", "level": 1name": "", }, "content": [ "url": "", { "caption": "", "type": "text", "text": "Heading" } ]showPreview": true, "previewWidth": 512 } } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "imageheading", "attrs": { "textAlignment": "left", "name": "",level": 1 "url": ""}, "caption": "", "showPreview": true, "previewWidth": 512 }"content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-chromium-retry2/dragImage-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:134:5
[firefox] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image: tests/src/utils/editor.ts#L37
3) [firefox] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "headingimage", "attrs": { "textAlignment": "left", "level": 1name": "", }, "content": [ "url": "", { "caption": "", "type": "text", "text": "Heading" } ]showPreview": true, "previewWidth": 512 } } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "imageheading", "attrs": { "textAlignment": "left", "name": "",level": 1 "url": ""}, "caption": "", "showPreview": true, "previewWidth": 512 }"content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-firefox-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-firefox/dragImage-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:134:5
[firefox] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image: tests/src/utils/editor.ts#L37
3) [firefox] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "headingimage", "attrs": { "textAlignment": "left", "level": 1name": "", }, "content": [ "url": "", { "caption": "", "type": "text", "text": "Heading" } ]showPreview": true, "previewWidth": 512 } } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "imageheading", "attrs": { "textAlignment": "left", "name": "",level": 1 "url": ""}, "caption": "", "showPreview": true, "previewWidth": 512 }"content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-firefox-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-firefox-retry1/dragImage-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:134:5
[firefox] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image: tests/src/utils/editor.ts#L37
3) [firefox] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "headingimage", "attrs": { "textAlignment": "left", "level": 1name": "", }, "content": [ "url": "", { "caption": "", "type": "text", "text": "Heading" } ]showPreview": true, "previewWidth": 512 } } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "imageheading", "attrs": { "textAlignment": "left", "name": "",level": 1 "url": ""}, "caption": "", "showPreview": true, "previewWidth": 512 }"content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-firefox-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-firefox-retry2/dragImage-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:134:5
[webkit] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks: tests/src/utils/editor.ts#L37
4) [webkit] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "10", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 21 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "01", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 12 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 3 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-webkit-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-webkit/dragdropsingle-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts:41:5
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 26.4s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 24.1s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.8s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 19.6s
Slow Test: tests/[webkit] › ariakit/ariakit.test.ts#L1
tests/[webkit] › ariakit/ariakit.test.ts took 18.2s
🎭 Playwright Run Summary
5 failed [chromium] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks [chromium] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image [firefox] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image [webkit] › dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks [webkit] › images/images.test.ts:123:7 › Check Image Block and Toolbar functionality › Should be able to drag image 18 skipped 2 did not run 197 passed (7.2m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
2 MB