Skip to content

fix: handle pasting into table cells better, by collapsing their cont… #6939

fix: handle pasting into table cells better, by collapsing their cont…

fix: handle pasting into table cells better, by collapsing their cont… #6939

Triggered via push February 21, 2026 11:39
Status Success
Total duration 8m 6s
Artifacts 4

build.yml

on: push
Matrix: playwright
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 notices
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:76:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:76:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block Error: expect(string).toMatchSnapshot(expected) @@ -23,91 +23,22 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "4" + "id": "1" }, "content": [ { "type": "paragraph", "attrs": { "backgroundColor": "default", "textColor": "default", "textAlignment": "left" } - }, - { - "type": "blockGroup", - "content": [ - { - "type": "blockContainer", - "attrs": { - "id": "1" - }, - "content": [ - { - "type": "heading", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left", - "level": 2, - "isToggleable": false - }, - "content": [ - { - "type": "text", - "text": "Heading" - } - ] - } - ] - }, - { - "type": "blockContainer", - "attrs": { - "id": "2" - }, - "content": [ - { - "type": "heading", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left", - "level": 3, - "isToggleable": false - }, - "content": [ - { - "type": "text", - "text": "Heading" - } - ] - } - ] - } - ] } ] - }, - { - "type": "blockContainer", - "attrs": { - "id": "3" - }, - "content": [ - { - "type": "paragraph", - "attrs": { - "backgroundColor": "default", - "textColor": "default", - "textAlignment": "left" - } - } - ] } ] } ] } Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocksEmpty-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-chromium/enterPreservesNestedBlocksEmpty-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) a
[webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance: tests/src/end-to-end/basics/basicblocks.test.ts#L19
1) [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-content-type="video"] .bn-file-caption') 17 | await page.waitForTimeout(500); 18 | > 19 | await page.locator(`[data-content-type="video"] .bn-file-caption`).click(); | ^ 20 | await page.keyboard.press("Backspace"); 21 | await page.waitForTimeout(500); 22 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:19:72
[webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance: tests/src/end-to-end/basics/basicblocks.test.ts#L0
1) [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance Test timeout of 30000ms exceeded.
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "f150e1e91c73e3b18b8b43336402f580444d7ed6", "ref": "main" }, "key": "HiOp7W5BTn", "runId": 22256154763, "webhookDebug": { "action": "requested", "head_branch": "main", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": false, "prNumber": null, "prNumberType": "object", "isNewPullRequest": false, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:main", "oldPrDataHash": "m72SGUJfNr", "lookupKey": "m72SGUJfNr", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "f150e1e91c73e3b18b8b43336402f580444d7ed6", "ref": "main" } } }
🎭 Playwright Run Summary
1 flaky [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:76:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block 1 skipped 102 passed (2.5m)
🎭 Playwright Run Summary
11 skipped 93 passed (2.8m)
🎭 Playwright Run Summary
1 flaky [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance 9 skipped 94 passed (3.8m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report-chromium Expired
3.35 MB
sha256:0c8dd98779aaf6c8c80044740dd3ef89da457ecd399d8b6e7912f8281179c1d6
playwright-report-firefox Expired
261 KB
sha256:6aade3714c64ffd5da04319a6f29b2bfd1358974463f5999ceb76ae3646340ff
playwright-report-webkit Expired
2.34 MB
sha256:837126d06e97e7c6f3d1e2e0734ccb6b9b013b3441998ad88d66aada363c1895
relative-ci-artifacts-editor
46.7 KB
sha256:a742412d6d78285cad3cafe97749b7e8ba434f13baebd32cd3f9b83e648ccc53