Skip to content

fix: Allow adding block above table when it is the first block #7975

fix: Allow adding block above table when it is the first block

fix: Allow adding block above table when it is the first block #7975

Re-run triggered May 26, 2026 06:07
Status Failure
Total duration 7m 30s
Artifacts 12

build.yml

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

Annotations

12 errors, 2 warnings, and 5 notices
Playwright Tests - chromium (1/2)
Value cannot be null. (Parameter 'ContainerId')
Playwright Tests - chromium (1/2)
Value cannot be null. (Parameter 'ContainerId')
Playwright Tests - chromium (1/2)
Docker pull failed with exit code 1
Build
Process completed with exit code 1.
Playwright Tests - firefox (1/2)
Process completed with exit code 1.
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block: tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -5,50 +5,50 @@ "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { - "id": "0" + "id": "1" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 1, - "isToggleable": false + "level": 2, + "isToggleable": true }, "content": [ { "type": "text", - "text": "Hover over this text" + "text": "This is an h2" } ] } ] }, { "type": "blockContainer", "attrs": { - "id": "1" + "id": "0" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 2, - "isToggleable": true + "level": 1, + "isToggleable": false }, "content": [ { "type": "text", - "text": "This is an h2" + "text": "Hover over this text" } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-08661-ton-should-create-new-block-firefox-retry2/draghandleadd-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 | 50 | /** at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:102:5
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block: tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -5,50 +5,50 @@ "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { - "id": "0" + "id": "1" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 1, - "isToggleable": false + "level": 2, + "isToggleable": true }, "content": [ { "type": "text", - "text": "Hover over this text" + "text": "This is an h2" } ] } ] }, { "type": "blockContainer", "attrs": { - "id": "1" + "id": "0" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 2, - "isToggleable": true + "level": 1, + "isToggleable": false }, "content": [ { "type": "text", - "text": "This is an h2" + "text": "Hover over this text" } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-08661-ton-should-create-new-block-firefox-retry1/draghandleadd-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 | 50 | /** at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:102:5
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block: tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block Error: expect(string).toMatchSnapshot(expected) @@ -5,50 +5,50 @@ "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { - "id": "0" + "id": "1" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 1, - "isToggleable": false + "level": 2, + "isToggleable": true }, "content": [ { "type": "text", - "text": "Hover over this text" + "text": "This is an h2" } ] } ] }, { "type": "blockContainer", "attrs": { - "id": "1" + "id": "0" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 2, - "isToggleable": true + "level": 1, + "isToggleable": false }, "content": [ { "type": "text", - "text": "This is an h2" + "text": "Hover over this text" } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-08661-ton-should-create-new-block-firefox/draghandleadd-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 | 50 | /** at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:102:5
Playwright Tests - webkit (1/2)
Process completed with exit code 1.
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -5,50 +5,50 @@ "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { - "id": "0" + "id": "1" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 1, - "isToggleable": false + "level": 2, + "isToggleable": true }, "content": [ { "type": "text", - "text": "Hover over this text" + "text": "This is an h2" } ] } ] }, { "type": "blockContainer", "attrs": { - "id": "1" + "id": "0" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 2, - "isToggleable": true + "level": 1, + "isToggleable": false }, "content": [ { "type": "text", - "text": "This is an h2" + "text": "Hover over this text" } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-08661-ton-should-create-new-block-webkit-retry2/draghandleadd-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 | 50 | /** at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:102:5
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -5,50 +5,50 @@ "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { - "id": "0" + "id": "1" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 1, - "isToggleable": false + "level": 2, + "isToggleable": true }, "content": [ { "type": "text", - "text": "Hover over this text" + "text": "This is an h2" } ] } ] }, { "type": "blockContainer", "attrs": { - "id": "1" + "id": "0" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 2, - "isToggleable": true + "level": 1, + "isToggleable": false }, "content": [ { "type": "text", - "text": "This is an h2" + "text": "Hover over this text" } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-08661-ton-should-create-new-block-webkit-retry1/draghandleadd-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 | 50 | /** at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:102:5
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block Error: expect(string).toMatchSnapshot(expected) @@ -5,50 +5,50 @@ "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { - "id": "0" + "id": "1" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 1, - "isToggleable": false + "level": 2, + "isToggleable": true }, "content": [ { "type": "text", - "text": "Hover over this text" + "text": "This is an h2" } ] } ] }, { "type": "blockContainer", "attrs": { - "id": "1" + "id": "0" }, "content": [ { "type": "heading", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left", - "level": 2, - "isToggleable": true + "level": 1, + "isToggleable": false }, "content": [ { "type": "text", - "text": "This is an h2" + "text": "Hover over this text" } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/draghandleadd-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-08661-ton-should-create-new-block-webkit/draghandleadd-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 | 50 | /** at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:102:5
Playwright Tests - chromium (1/2)
Docker pull failed with exit code 1, back off 6.523 seconds before retry.
Playwright Tests - chromium (1/2)
Docker pull failed with exit code 1, back off 2.977 seconds before retry.
🎭 Playwright Run Summary
43 passed (35.8s)
🎭 Playwright Run Summary
1 skipped 42 passed (44.9s)
🎭 Playwright Run Summary
43 passed (1.0m)
🎭 Playwright Run Summary
1 failed [firefox] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block 16 skipped 79 passed (1.4m)
🎭 Playwright Run Summary
1 failed [webkit] › src/end-to-end/draghandle/draghandle.test.ts:94:7 › Check Draghandle functionality › Clicking add button should create new block 12 skipped 83 passed (2.1m)

Artifacts

Produced during runtime
Name Size Digest
blob-report-chromium-2 Expired
52.6 KB
sha256:f7cedf2f0f3eb4eacf5b046159fedbdf454d50fd09315ef890adfc34bd0f1c7c
blob-report-firefox-1 Expired
541 KB
sha256:344b9e1651c0aa9529ff99de6c887fef8410e72d5fe979360925a86a7e8ec1ff
blob-report-firefox-2 Expired
52.2 KB
sha256:d67b4bebd4c82b1c4db6097a7c5d4df2104b2171ca6690b53bd0f444dd91fc8d
blob-report-webkit-1 Expired
668 KB
sha256:f5f39f9fc84060856b529d15059da2bcb73f59336d91e06f984d4ddb801de20a
blob-report-webkit-2 Expired
53.1 KB
sha256:d29ed98e4f6520db1d68fbec23831f8c9f3b6fb687fb51bd3cdef62a0901cc65
playwright-build Expired
21.2 MB
sha256:01383cb2414124456b87dfa87f38a414058baf122628f91eb8e656118c4bc989
playwright-report-chromium-2
210 KB
sha256:8e63a458a61a511f9df793bfb3539909e239552e3b3a95f862eddf0f37d8254d
playwright-report-firefox-1
1.01 MB
sha256:c4193afa94e901a5aee6337c146fd4d714d11164f2159b2539eb54050003d2d6
playwright-report-firefox-2
209 KB
sha256:8bf953261f6f67b51446c24105ae51c5c5dbb5cf1c6361577e237276be323f82
playwright-report-merged
1.51 MB
sha256:49b10696f403f194d803bf655156d8edddde03776ec948dfaa18d489089c399e
playwright-report-webkit-1
1.1 MB
sha256:b38e73e9c496a13df865256dcffc1b9d2ad40c04b33575ff41a29e8d25494c2b
playwright-report-webkit-2
210 KB
sha256:ddaf0c006348839a8b67a0ee37ccfca357304e2243eac22c3f583fee40622389