feat: AI autocomplete [render preview] #6463
Annotations
16 errors and 3 notices
|
Build
Process completed with exit code 130.
|
|
src/AIAutoCompleteExtension.test.ts > AIAutoCompleteExtension > fetches and displays suggestions:
packages/xl-ai/src/AIAutoCompleteExtension.test.ts#L57
AssertionError: expected "spy" to be called once, but got 0 times
❯ src/AIAutoCompleteExtension.test.ts:57:22
|
|
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 - firefox
Process completed with exit code 1.
|
|
[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 - webkit
Process completed with exit code 1.
|
|
[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
2) [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
2) [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.
|
|
[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
|
|
🎭 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.4m)
|
|
🎭 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
11 skipped
83 passed (2.8m)
|
|
🎭 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
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
84 passed (3.7m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
1.03 MB |
sha256:8554377723d55fd006641fe2f97fd982c8e607189cbb06c3dc72b61d8d2fd9da
|
|
|
playwright-report-firefox
Expired
|
800 KB |
sha256:6ef82f89841ae2bf934a78f115881ddff36130a5f128cbc39e80b7a06dc2f0ad
|
|
|
playwright-report-webkit
Expired
|
2.63 MB |
sha256:eb674b97d136e1461fcf14f4a3828bb9a7873ef6b24ca744309822bfdb005f69
|
|