Skip to content

Internal html changes #3153

Internal html changes

Internal html changes #3153

Triggered via pull request October 1, 2024 13:36
Status Failure
Total duration 11m 28s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 5 warnings, and 1 notice
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/utils/editor.ts#L47
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "paragraph" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "image", "attrs": { "textAlignment": "left", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, "previewWidth": 462 } } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] }, { "type": "blockContainer", "attrs": { "id": "4", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "image", "attrs": { "textAlignment": "left", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, "previewWidth": 462 } } ] }, { "type": "blockContainer", "attrs": { "id": "5", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium/images-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/utils/editor.ts#L47
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "paragraph" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "image", "attrs": { "textAlignment": "left", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, "previewWidth": 462 } } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] }, { "type": "blockContainer", "attrs": { "id": "4", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "image", "attrs": { "textAlignment": "left", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, "previewWidth": 462 } } ] }, { "type": "blockContainer", "attrs": { "id": "5", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium-retry1/images-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 |
[chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/utils/editor.ts#L47
1) [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "paragraph" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "image", "attrs": { "textAlignment": "left", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, "previewWidth": 462 } } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] }, { "type": "blockContainer", "attrs": { "id": "4", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "image", "attrs": { "textAlignment": "left", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, "previewWidth": 462 } } ] }, { "type": "blockContainer", "attrs": { "id": "5", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium-retry2/images-json-actual.json at ../utils/editor.ts:47 45 | // Remove id from docs 46 | const doc = JSON.stringify(await getDoc(page), null, 2); > 47 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 48 | } 49 |
Build
Process completed with exit code 1.
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.0s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 26.9s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 24.5s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 20.7s
Slow Test: tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 18.5s
🎭 Playwright Run Summary
1 failed [chromium] › copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props 18 skipped 230 passed (7.5m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
2.28 MB