Skip to content

feat: decouple yjs from blocknote/core #7830

feat: decouple yjs from blocknote/core

feat: decouple yjs from blocknote/core #7830

Triggered via pull request May 14, 2026 04:55
Status Failure
Total duration 7m 24s
Artifacts 14

build.yml

on: pull_request
Matrix: playwright
Merge Playwright Reports
46s
Merge Playwright Reports
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 6 notices
Build
Process completed with exit code 1.
src/api/formats/json/tools/jsontools.test.ts > Combined > add paragraph and update selection: packages/xl-ai/src/api/formats/json/tools/jsontools.test.ts#L78
AssertionError: expected [ { id: 'ref1', …(4) }, …(3) ] to deeply equal [ { id: 'ref1', …(4) }, …(3) ] - Expected + Received @@ -36,42 +36,11 @@ { "children": [], "content": [ { "styles": {}, - "text": "Hallo, ", - "type": "text", - }, - { - "content": undefined, - "props": { - "user": "John Doe", - }, - "type": "mention", - }, - { - "styles": {}, - "text": "! ", - "type": "text", - }, - { - "styles": { - "bold": true, - }, - "text": "How are you doing?", - "type": "text", - }, - { - "styles": {}, - "text": " ", - "type": "text", - }, - { - "styles": { - "textColor": "blue", - }, - "text": "This text is blue!", + "text": "Hallo,", "type": "text", }, ], "id": "ref2", "props": { ❯ executeTestCase src/api/formats/json/tools/jsontools.test.ts:78:27 ❯ src/api/formats/json/tools/jsontools.test.ts:120:7
src/api/formats/html-blocks/htmlBlocks.test.ts > Models > anthropic.messages/claude-3-7-sonnet-latest (streaming) > Combined > add paragraph and update selection: packages/xl-ai/src/api/formats/tests/sharedTestCases.ts#L130
AssertionError: expected [ { id: 'ref1', …(4) }, …(3) ] to deeply equal [ { id: 'ref1', …(4) }, …(3) ] - Expected + Received @@ -36,42 +36,11 @@ { "children": [], "content": [ { "styles": {}, - "text": "Hallo, ", - "type": "text", - }, - { - "content": undefined, - "props": { - "user": "John Doe", - }, - "type": "mention", - }, - { - "styles": {}, - "text": "! ", - "type": "text", - }, - { - "styles": { - "bold": true, - }, - "text": "How are you doing?", - "type": "text", - }, - { - "styles": {}, - "text": " ", - "type": "text", - }, - { - "styles": { - "textColor": "blue", - }, - "text": "This text is blue!", + "text": "Hallo,", "type": "text", }, ], "id": "ref2", "props": { ❯ executeTestCase src/api/formats/tests/sharedTestCases.ts:130:29 ❯ src/api/formats/tests/sharedTestCases.ts:180:9
src/api/formats/html-blocks/htmlBlocks.test.ts > Models > groq.chat/llama-3.3-70b-versatile (streaming) > Combined > add paragraph and update selection: packages/xl-ai/src/api/formats/tests/sharedTestCases.ts#L130
AssertionError: expected [ { id: 'ref1', …(4) }, …(3) ] to deeply equal [ { id: 'ref1', …(4) }, …(3) ] - Expected + Received @@ -36,42 +36,11 @@ { "children": [], "content": [ { "styles": {}, - "text": "Hallo, ", - "type": "text", - }, - { - "content": undefined, - "props": { - "user": "John Doe", - }, - "type": "mention", - }, - { - "styles": {}, - "text": "! ", - "type": "text", - }, - { - "styles": { - "bold": true, - }, - "text": "How are you doing?", - "type": "text", - }, - { - "styles": {}, - "text": " ", - "type": "text", - }, - { - "styles": { - "textColor": "blue", - }, - "text": "This text is blue!", + "text": "Hallo,", "type": "text", }, ], "id": "ref2", "props": { ❯ executeTestCase src/api/formats/tests/sharedTestCases.ts:130:29 ❯ src/api/formats/tests/sharedTestCases.ts:180:9
src/api/formats/html-blocks/htmlBlocks.test.ts > Models > openai.responses/gpt-4o-2024-08-06 (streaming) > Combined > add paragraph and update selection: packages/xl-ai/src/api/formats/tests/sharedTestCases.ts#L130
AssertionError: expected [ { id: 'ref1', …(4) }, …(3) ] to deeply equal [ { id: 'ref1', …(4) }, …(3) ] - Expected + Received @@ -36,42 +36,11 @@ { "children": [], "content": [ { "styles": {}, - "text": "Hallo, ", - "type": "text", - }, - { - "content": undefined, - "props": { - "user": "John Doe", - }, - "type": "mention", - }, - { - "styles": {}, - "text": "! ", - "type": "text", - }, - { - "styles": { - "bold": true, - }, - "text": "How are you doing?", - "type": "text", - }, - { - "styles": {}, - "text": " ", - "type": "text", - }, - { - "styles": { - "textColor": "blue", - }, - "text": "This text is blue!", + "text": "Hallo,", "type": "text", }, ], "id": "ref2", "props": { ❯ executeTestCase src/api/formats/tests/sharedTestCases.ts:130:29 ❯ src/api/formats/tests/sharedTestCases.ts:180:9
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block: tests/src/utils/editor.ts#L47
3) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -41,19 +41,41 @@ "textAlignment": "left" }, "content": [ { "type": "text", - "text": "ParagraphParagraph" + "text": "Paragrah" } ] } ] } ] } ] + }, + { + "type": "blockContainer", + "attrs": { + "id": "2" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + }, + "content": [ + { + "type": "text", + "text": "Paragraph" + } + ] + } + ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit-retry1/deleteShallowerBlock-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 (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:319:5
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:130:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks: tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:130:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks Error: expect(string).toMatchSnapshot(expected) @@ -27,10 +27,26 @@ ] }, { "type": "blockContainer", "attrs": { + "id": "1" + }, + "content": [ + { + "type": "paragraph", + "attrs": { + "backgroundColor": "default", + "textColor": "default", + "textAlignment": "left" + } + } + ] + }, + { + "type": "blockContainer", + "attrs": { "id": "2" }, "content": [ { "type": "paragraph", Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocks-json-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-494d0-ace-preserves-nested-blocks-webkit/backspacePreservesNestedBlocks-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 (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:149:5
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/end-to-end/images/images.test.ts#L95
1) [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image Error: expect(Buffer).toMatchSnapshot(expected) 1232 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-diff.png 93 | await page.waitForTimeout(500); 94 | await compareDocToSnapshot(page, "resizeImage"); > 95 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png"); | ^ 96 | }); 97 | test("Should be able to delete image with backspace", async ({ page }) => { 98 | await page.goto(BASE_URL); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:95:37
🎭 Playwright Run Summary
43 passed (35.5s)
🎭 Playwright Run Summary
1 skipped 42 passed (45.4s)
🎭 Playwright Run Summary
43 passed (1.0m)
🎭 Playwright Run Summary
2 skipped 92 passed (1.3m)
🎭 Playwright Run Summary
16 skipped 78 passed (1.5m)
🎭 Playwright Run Summary
3 flaky [webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:130:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block 12 skipped 79 passed (3.0m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
127 KB
sha256:78a388634b516dd153480c76dbbdf801572a8d2d7b3b98df9c577e7e011b4cb6
blob-report-chromium-2 Expired
52.6 KB
sha256:e13a3f66013cb915a8e2dddb9734495c8b61973891a3630a4fd7dddcc54ecf8b
blob-report-firefox-1 Expired
113 KB
sha256:0f701021b9b7a769e6351e4dade29d9c5f37b9c87e1e6a007086f75b38261b44
blob-report-firefox-2 Expired
52.2 KB
sha256:f01a2bf22aacebca854cdad8382949470fde79ac55f00587f6f4e9b5c2eda1d5
blob-report-webkit-1 Expired
4.41 MB
sha256:a8f8256e1cf7e0548e4c54837b65e74ee74ebdf2fbbaf0e9e2d44bb74ed54cf2
blob-report-webkit-2 Expired
53.1 KB
sha256:78601181ea26dd0ce00709beb3e177506ee2b84ecfa654d08fed16122fe27b9b
playwright-build Expired
21.2 MB
sha256:eb7e904fda7d7b74e351fe108247c50b3d06b9db375b11f539992caad53469eb
playwright-report-chromium-1 Expired
260 KB
sha256:e28d7d03e54489c3d0eae6304b4aedd269da41ddfd149dd67d3d0a0b53736cd7
playwright-report-chromium-2 Expired
210 KB
sha256:f366af2aa13fa05d1261b27d2bda62cc10ea75f4993294506ca7963e0fc9163f
playwright-report-firefox-1 Expired
249 KB
sha256:6b142594b99f45ce519c42b22ae431617e1c16576301c3f3bfa319155634f404
playwright-report-firefox-2 Expired
209 KB
sha256:68bad923b65e4960f3f3227b39840af85392d941de0eb59e8565a334f71b1cea
playwright-report-merged Expired
4.92 MB
sha256:2e462af639d600ca6ff03dc929ceb6b8b72c4791496d6d084921c8761e83a058
playwright-report-webkit-1 Expired
4.85 MB
sha256:4c26d31f5244b20cb39f1fda1efae933b066623f39fd38489406b86ef3d4933e
playwright-report-webkit-2 Expired
210 KB
sha256:6470a6cb819994ee6bb49de9be625d6c7eccebb6b67732afbd45c7e8bcaf3c8e