Skip to content

feat: decouple yjs from blocknote/core #7818

feat: decouple yjs from blocknote/core

feat: decouple yjs from blocknote/core #7818

Triggered via pull request May 13, 2026 16:25
Status Failure
Total duration 6m 31s
Artifacts 14

build.yml

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

Annotations

11 errors and 6 notices
src/api/positionMapping.test.ts > PositionStorage with remote editor > remote editor > should update the local position from a remote transaction: packages/core/src/api/positionMapping.test.ts#L474
AssertionError: expected 12 to be 11 // Object.is equality - Expected + Received - 11 + 12 ❯ src/api/positionMapping.test.ts:474:30
src/api/positionMapping.test.ts > PositionStorage with remote editor > remote editor > should handle multiple transactions when collaborating: packages/core/src/api/positionMapping.test.ts#L409
AssertionError: expected 12 to be 11 // Object.is equality - Expected + Received - 11 + 12 ❯ src/api/positionMapping.test.ts:409:30
src/api/positionMapping.test.ts > PositionStorage with remote editor > remote editor > should update the local position when collaborating: packages/core/src/api/positionMapping.test.ts#L340
AssertionError: expected 12 to be 11 // Object.is equality - Expected + Received - 11 + 12 ❯ src/api/positionMapping.test.ts:340:30
src/api/positionMapping.test.ts > PositionStorage with local editor > should update mapping for local transactions before the position (unmounted): packages/core/src/api/positionMapping.test.ts#L146
AssertionError: expected 10 to be 14 // Object.is equality - Expected + Received - 14 + 10 ❯ src/api/positionMapping.test.ts:146:22
src/api/positionMapping.test.ts > PositionStorage with local editor > mount and unmount > should register transaction handler on creation & mount: packages/core/src/api/positionMapping.test.ts#L31
AssertionError: expected "vi.fn()" to be called with arguments: [ 'transaction', Any<Function> ] Number of calls: 0 ❯ src/api/positionMapping.test.ts:31:39
src/api/positionMapping.test.ts > PositionStorage with local editor > mount and unmount > should register transaction handler on creation: packages/core/src/api/positionMapping.test.ts#L16
AssertionError: expected "vi.fn()" to be called with arguments: [ 'transaction', Any<Function> ] Number of calls: 0 ❯ src/api/positionMapping.test.ts:16:39
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
[chromium] › src/end-to-end/ai/ai-selection.test.ts:13:7 › AI toolbar button should preserve selection (issue #2525) › Editor selection must be preserved after clicking the AI toolbar button: tests/src/end-to-end/ai/ai-selection.test.ts#L28
1) [chromium] › src/end-to-end/ai/ai-selection.test.ts:13:7 › AI toolbar button should preserve selection (issue #2525) › Editor selection must be preserved after clicking the AI toolbar button Error: expect(received).toBeGreaterThan(expected) Expected: > 0 Received: 0 26 | return { from: pm.state.selection.from, to: pm.state.selection.to }; 27 | }); > 28 | expect(selBefore.to - selBefore.from).toBeGreaterThan(0); | ^ 29 | 30 | // Click the AI button using page.mouse to trigger real browser 31 | // focus-shift behavior (Playwright's locator.click() bypasses it) at /__w/BlockNote/BlockNote/tests/src/end-to-end/ai/ai-selection.test.ts:28:43
🎭 Playwright Run Summary
1 skipped 42 passed (45.2s)
🎭 Playwright Run Summary
43 passed (1.1m)
🎭 Playwright Run Summary
43 passed (35.3s)
🎭 Playwright Run Summary
16 skipped 78 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [chromium] › src/end-to-end/ai/ai-selection.test.ts:13:7 › AI toolbar button should preserve selection (issue #2525) › Editor selection must be preserved after clicking the AI toolbar button 2 skipped 91 passed (1.4m)
🎭 Playwright Run Summary
12 skipped 82 passed (2.0m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-1 Expired
1.3 MB
sha256:7b3c59b2563db3d5b682eb0d242a6bf50ebbe2a20396611d57928fad6122a6e4
blob-report-chromium-2 Expired
52.7 KB
sha256:0215adc4c6c6b83a2ed61d763640e792f2cf6f16cda74fad988f451ad8e3ff67
blob-report-firefox-1 Expired
113 KB
sha256:cc963c582c3f559e5d5b3f130868e62a07859c2c0305b00ec886e5b0bf3a811d
blob-report-firefox-2 Expired
52.2 KB
sha256:4c4665ed6430a18049e195cf25e26e9146d8c89f978227f041fe3b0cbe856e07
blob-report-webkit-1 Expired
120 KB
sha256:c015386811c3e701167e1b176de50e14d2eee3b211c8b3f0def69f99e22d4441
blob-report-webkit-2 Expired
53.4 KB
sha256:a6d9ff8f94700a6b225cdb34424496974fcd060de060f23825bdc81587dbb94c
playwright-build Expired
21.2 MB
sha256:989ac2daf6e47da0bac401a2e63081477573f4dffbe9c4fbd7223cc7757bd143
playwright-report-chromium-1 Expired
1.8 MB
sha256:66eed9a7d1d8328a0f8be9e2ae514b975402c47a21a54fd16bc6c6b165570780
playwright-report-chromium-2 Expired
210 KB
sha256:3951c4fa25fd374e7b0cac3c36be306a5337e86a4588da57a96e190ad648f90b
playwright-report-firefox-1 Expired
249 KB
sha256:420364548b5358e6379fefb0d532f2cd50b72f1f33a7498e3ce1ebe86374236a
playwright-report-firefox-2 Expired
209 KB
sha256:623aaad1580ae35482d431b16e81fac7627a5bce75c24c475b05abb5ce6d8d3b
playwright-report-merged Expired
1.88 MB
sha256:49f499ae78fe5eb389a30950733e149a2a07eda6f81fe8c5bfb5445f6209149e
playwright-report-webkit-1 Expired
256 KB
sha256:4072f27c2a83d84b6dcdbc944edd54ecfa5aa42f44c1fa58494727b982a044a0
playwright-report-webkit-2 Expired
210 KB
sha256:0530114b603f6aa756afd760a553c8263e0a1c7846ee84927d2eb14284a2dcce