Skip to content

feat: AI autocomplete [render preview] #6470

feat: AI autocomplete [render preview]

feat: AI autocomplete [render preview] #6470

Triggered via pull request December 4, 2025 08:04
Status Failure
Total duration 8m 13s
Artifacts 4

build.yml

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

Annotations

15 errors and 4 notices
Playwright Tests - firefox
Process completed with exit code 1.
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block: tests/src/end-to-end/draghandle/draghandle.test.ts#L156
3) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block Error: page.waitForSelector: Target page, context or browser has been closed Call log: - waiting for locator('[data-content-type=heading][data-level="3"]') to be visible 154 | await page.waitForSelector(H_ONE_BLOCK_SELECTOR); 155 | await page.waitForSelector(H_TWO_BLOCK_SELECTOR, { state: "detached" }); > 156 | await page.waitForSelector(H_THREE_BLOCK_SELECTOR); | ^ 157 | 158 | await compareDocToSnapshot(page, "dragHandleDocStructure"); 159 | }); at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:156:16
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block: tests/src/end-to-end/draghandle/draghandle.test.ts#L0
3) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block Test timeout of 30000ms exceeded.
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
2) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar Error: expect(Buffer).toMatchSnapshot(expected) 228 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox-retry2/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox-retry1/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
Playwright Tests - chromium
Process completed with exit code 1.
[chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-chromium-retry2/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
[chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-chromium-retry1/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
[chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-chromium/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
Playwright Tests - webkit
Process completed with exit code 1.
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-webkit-retry2/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-webkit-retry1/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block Error: expect(string).toMatchSnapshot(expected) @@ -47,11 +47,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-webkit/addnonselectedemptyblock-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/draghandle/draghandle.test.ts:127:5
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "590a87ce16fa05994605ec9e953d66c32a12c49f", "ref": "2191" }, "key": "J684mQpjGd", "runId": 19921894844, "webhookDebug": { "action": "requested", "head_branch": "feature/ai-autocomplete", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2191, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:feature/ai-autocomplete", "oldPrDataHash": "NTn5jbJpzM", "lookupKey": "TypeCellOS/BlockNote:feature/ai-autocomplete", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "590a87ce16fa05994605ec9e953d66c32a12c49f", "ref": "2191" } } }
🎭 Playwright Run Summary
1 failed [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block 2 flaky [firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block 11 skipped 81 passed (3.5m)
🎭 Playwright Run Summary
1 failed [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block 1 skipped 93 passed (2.3m)
🎭 Playwright Run Summary
1 failed [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block 9 skipped 85 passed (3.2m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report-chromium Expired
1.02 MB
sha256:f7f4e11540289e2527231165498d8e2f76c91bb1c165111a776927f31e9dd6e6
playwright-report-firefox Expired
1.24 MB
sha256:435b329676b6ffd10c3cf927993af45b7208d1f4e3630901436c7733335a87b8
playwright-report-webkit Expired
993 KB
sha256:62a405dbab7f4b582213fd8a8cfdc6a5f68fa02dfaa4d70a635c6644ffc9b7a1
relative-ci-artifacts-editor Expired
45.8 KB
sha256:8f9a50a4e39e961208f086bdc61365b2f902930e55e150ae950aec6214d3d33e