Skip to content

fix(core): slash menu fails in custom blocks after space BLO-1036 #7017

fix(core): slash menu fails in custom blocks after space BLO-1036

fix(core): slash menu fails in custom blocks after space BLO-1036 #7017

Triggered via pull request March 11, 2026 10:42
Status Failure
Total duration 6m 55s
Artifacts 4

build.yml

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

Annotations

30 errors, 4 warnings, and 4 notices
[chromium] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering: tests/src/end-to-end/static/static.test.ts#L13
4) [chromium] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering Error: expect(Buffer).toMatchSnapshot(expected) 3855 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-chromium/static-rendering-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-chromium/static-rendering-diff.png 11 | await page.goto(STATIC_URL); 12 | await page.waitForTimeout(500); > 13 | expect(await page.screenshot()).toMatchSnapshot("static-rendering.png"); | ^ 14 | }); 15 | 16 | test("Check static rendering visually matches live editor", async ({ at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:13:37
[chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-chromium-retry2/resizeImage-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/images/images.test.ts:101:5
[chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-chromium-retry1/resizeImage-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/images/images.test.ts:101:5
[chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-chromium/resizeImage-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/images/images.test.ts:101:5
[chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
2) [chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 34510 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-chromium-retry2/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-chromium-retry2/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
[chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
2) [chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 34510 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-chromium-retry1/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-chromium-retry1/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
[chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
2) [chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Error: expect(Buffer).toMatchSnapshot(expected) 34510 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-chromium/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-chromium/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -39,11 +39,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { @@ -75,11 +75,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium-retry2/images-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) at /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:189:5
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -39,11 +39,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { @@ -75,11 +75,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium-retry1/images-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) at /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:189:5
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props: tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props Error: expect(string).toMatchSnapshot(expected) @@ -39,11 +39,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { @@ -75,11 +75,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 154 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium/images-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) at /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:189:5
[webkit] › 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
4) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar Error: expect(Buffer).toMatchSnapshot(expected) 1007 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-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/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
[webkit] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering: tests/src/end-to-end/static/static.test.ts#L13
3) [webkit] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 16169 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-webkit-retry2/static-rendering-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-webkit-retry2/static-rendering-diff.png 11 | await page.goto(STATIC_URL); 12 | await page.waitForTimeout(500); > 13 | expect(await page.screenshot()).toMatchSnapshot("static-rendering.png"); | ^ 14 | }); 15 | 16 | test("Check static rendering visually matches live editor", async ({ at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:13:37
[webkit] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering: tests/src/end-to-end/static/static.test.ts#L13
3) [webkit] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 16169 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-webkit-retry1/static-rendering-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-webkit-retry1/static-rendering-diff.png 11 | await page.goto(STATIC_URL); 12 | await page.waitForTimeout(500); > 13 | expect(await page.screenshot()).toMatchSnapshot("static-rendering.png"); | ^ 14 | }); 15 | 16 | test("Check static rendering visually matches live editor", async ({ at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:13:37
[webkit] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering: tests/src/end-to-end/static/static.test.ts#L13
3) [webkit] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering Error: expect(Buffer).toMatchSnapshot(expected) 16169 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-webkit/static-rendering-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-webkit/static-rendering-diff.png 11 | await page.goto(STATIC_URL); 12 | await page.waitForTimeout(500); > 13 | expect(await page.screenshot()).toMatchSnapshot("static-rendering.png"); | ^ 14 | }); 15 | 16 | test("Check static rendering visually matches live editor", async ({ at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:13:37
[webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 143 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry2/resizeImage-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/images/images.test.ts:101:5
[webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 143 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry1/resizeImage-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/images/images.test.ts:101:5
[webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 143 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-webkit-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resizeImage-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/images/images.test.ts:101:5
[webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
1) [webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 131176 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit-retry2/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit-retry2/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
[webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
1) [webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 131176 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit-retry1/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit-retry1/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
[webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
1) [webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Error: expect(Buffer).toMatchSnapshot(expected) 131176 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-webkit/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
Playwright Tests - firefox
Process completed with exit code 1.
[firefox] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering: tests/src/end-to-end/static/static.test.ts#L13
3) [firefox] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 4307 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-firefox-retry2/static-rendering-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-firefox-retry2/static-rendering-diff.png 11 | await page.goto(STATIC_URL); 12 | await page.waitForTimeout(500); > 13 | expect(await page.screenshot()).toMatchSnapshot("static-rendering.png"); | ^ 14 | }); 15 | 16 | test("Check static rendering visually matches live editor", async ({ at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:13:37
[firefox] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering: tests/src/end-to-end/static/static.test.ts#L13
3) [firefox] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 4307 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-firefox-retry1/static-rendering-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-firefox-retry1/static-rendering-diff.png 11 | await page.goto(STATIC_URL); 12 | await page.waitForTimeout(500); > 13 | expect(await page.screenshot()).toMatchSnapshot("static-rendering.png"); | ^ 14 | }); 15 | 16 | test("Check static rendering visually matches live editor", async ({ at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:13:37
[firefox] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering: tests/src/end-to-end/static/static.test.ts#L13
3) [firefox] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering Error: expect(Buffer).toMatchSnapshot(expected) 4307 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts-snapshots/static-rendering-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-firefox/static-rendering-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-rendering-Check-static-rendering-firefox/static-rendering-diff.png 11 | await page.goto(STATIC_URL); 12 | await page.waitForTimeout(500); > 13 | expect(await page.screenshot()).toMatchSnapshot("static-rendering.png"); | ^ 14 | }); 15 | 16 | test("Check static rendering visually matches live editor", async ({ at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:13:37
[firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
2) [firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 138 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-firefox-retry2/resizeImage-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/images/images.test.ts:101:5
[firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
2) [firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 138 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-firefox-retry1/resizeImage-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/images/images.test.ts:101:5
[firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image: tests/src/utils/editor.ts#L47
2) [firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image Error: expect(string).toMatchSnapshot(expected) @@ -17,11 +17,11 @@ "backgroundColor": "default", "name": "jk-placeholder-image.jpg", "url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg", "caption": "", "showPreview": true, - "previewWidth": 573 + "previewWidth": 138 } } ] }, { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resizeImage-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-firefox/resizeImage-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/images/images.test.ts:101:5
[firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
1) [firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 33892 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-firefox-retry2/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-firefox-retry2/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
[firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
1) [firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 33892 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-firefox-retry1/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-firefox-retry1/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
[firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image: tests/src/end-to-end/images/images.test.ts#L61
1) [firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image Error: expect(Buffer).toMatchSnapshot(expected) 33892 pixels (ratio 0.04 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/embed-image-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-firefox/embed-image-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--95903-ould-be-able-to-embed-image-firefox/embed-image-diff.png 59 | await page.waitForTimeout(500); 60 | await compareDocToSnapshot(page, "embedImage"); > 61 | expect(await page.screenshot()).toMatchSnapshot("embed-image.png"); | ^ 62 | }); 63 | test("Should be able to resize image", async ({ page }) => { 64 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:61:37
Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - chromium
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - webkit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Playwright Tests - firefox
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Build
{ "workflowData": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "25828bdb469589780e9bff479c52de49f23d789e", "ref": "2553" }, "key": "LMoA6UvhXl", "runId": 22948639835, "webhookDebug": { "action": "requested", "head_branch": "fix/slash-menu-custom-blocks-2531", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2553, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:fix/slash-menu-custom-blocks-2531", "oldPrDataHash": "beogW50Mw7", "lookupKey": "TypeCellOS/BlockNote:fix/slash-menu-custom-blocks-2531", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "0d905bfe0769107fc57a0c956e177ec7691acb86", "ref": "2553" } } }
🎭 Playwright Run Summary
4 failed [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props [chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image [chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image [chromium] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering 1 skipped 119 passed (3.4m)
🎭 Playwright Run Summary
3 failed [webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image [webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image [webkit] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering 1 flaky [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─ 9 skipped 111 passed (4.5m)
🎭 Playwright Run Summary
3 failed [firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image [firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image [firefox] › src/end-to-end/static/static.test.ts:10:7 › Check static rendering › Check static rendering 11 skipped 110 passed (4.0m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report-chromium
3.4 MB
sha256:5db3e2082663cb0ea8f799fdcef3c4bf937104173188bf22f470809093be05ca
playwright-report-firefox
1.68 MB
sha256:306260a86434a0b4d6b9af4324ff9179d29f9c9928ff9b12913aa383f940877f
playwright-report-webkit
2.1 MB
sha256:b25358d0c1f59f5152717e18e84427970f65bab605ec193e9e1016c16bc1b92c
relative-ci-artifacts-editor
46.8 KB
sha256:8f11d0b0eadc167c58c4eb4cb5da289852031956b195dee0a546ffbc364524ca