Skip to content

fix(schema-migration): more robust migration of background-color & text-color attributes #6217

fix(schema-migration): more robust migration of background-color & text-color attributes

fix(schema-migration): more robust migration of background-color & text-color attributes #6217

Triggered via pull request November 5, 2025 09:41
@nperez0111nperez0111
synchronize #2154
migration
Status Failure
Total duration 15m 30s
Artifacts 4

build.yml

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

Annotations

30 errors and 4 notices
[chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks: tests/src/utils/editor.ts#L47
4) [chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks Error: expect(string).toMatchSnapshot(expected) @@ -53,11 +53,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "2" + "id": "initialBlockId" }, "content": [ { "type": "heading", "attrs": { @@ -77,11 +77,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-chromium/dragdropsingle-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/dragdrop/dragdrop.test.ts:41:5
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate: tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -49,11 +49,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "2" + "id": "initialBlockId" }, "content": [ { "type": "paragraph", "attrs": { @@ -71,11 +71,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { @@ -87,11 +87,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "4" + "id": "initialBlockId" }, "content": [ { "type": "paragraph", "attrs": { @@ -109,11 +109,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "5" + "id": "3" }, "content": [ { "type": "paragraph", "attrs": { @@ -131,11 +131,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "6" + "id": "4" }, "content": [ { "type": "paragraph", "attrs": { @@ -153,11 +153,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "7" + "id": "5" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/paragraphs-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--b83a4-graphs-should-stay-separate-chromium-retry2/paragraphs-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:35:5
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate: tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(string).toMatchSnapshot(expected) @@ -49,11 +49,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "2" + "id": "initialBlockId" }, "content": [ { "type": "paragraph", "attrs": { @@ -71,11 +71,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { @@ -87,11 +87,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "4" + "id": "initialBlockId" }, "content": [ { "type": "paragraph", "attrs": { @@ -109,11 +109,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "5" + "id": "3" }, "content": [ { "type": "paragraph", "attrs": { @@ -131,11 +131,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "6" + "id": "4" }, "content": [ { "type": "paragraph", "attrs": { @@ -153,11 +153,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "7" + "id": "5" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/paragraphs-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--b83a4-graphs-should-stay-separate-chromium-retry1/paragraphs-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:35:5
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate: tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate Error: expect(string).toMatchSnapshot(expected) @@ -49,11 +49,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "2" + "id": "initialBlockId" }, "content": [ { "type": "paragraph", "attrs": { @@ -71,11 +71,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "3" + "id": "2" }, "content": [ { "type": "paragraph", "attrs": { @@ -87,11 +87,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "4" + "id": "initialBlockId" }, "content": [ { "type": "paragraph", "attrs": { @@ -109,11 +109,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "5" + "id": "3" }, "content": [ { "type": "paragraph", "attrs": { @@ -131,11 +131,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "6" + "id": "4" }, "content": [ { "type": "paragraph", "attrs": { @@ -153,11 +153,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "7" + "id": "5" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/paragraphs-json-chromium-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--b83a4-graphs-should-stay-separate-chromium/paragraphs-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:35:5
[chromium] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/src/end-to-end/colors/colors.test.ts#L110
2) [chromium] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 5543 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-chromium-retry2/blockBackgroundColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-chromium-retry2/blockBackgroundColor-diff.png 108 | await page.waitForTimeout(500); 109 | > 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png"); | ^ 111 | }); 112 | }); 113 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:110:37
[chromium] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/src/end-to-end/colors/colors.test.ts#L110
2) [chromium] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 5543 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-chromium-retry1/blockBackgroundColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-chromium-retry1/blockBackgroundColor-diff.png 108 | await page.waitForTimeout(500); 109 | > 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png"); | ^ 111 | }); 112 | }); 113 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:110:37
[chromium] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/src/end-to-end/colors/colors.test.ts#L110
2) [chromium] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color Error: expect(Buffer).toMatchSnapshot(expected) 5543 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-chromium/blockBackgroundColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-chromium/blockBackgroundColor-diff.png 108 | await page.waitForTimeout(500); 109 | > 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png"); | ^ 111 | }); 112 | }); 113 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:110:37
[chromium] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
1) [chromium] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 5543 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-chromium-retry2/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-chromium-retry2/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[chromium] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
1) [chromium] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 5543 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-chromium-retry1/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-chromium-retry1/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[chromium] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
1) [chromium] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Error: expect(Buffer).toMatchSnapshot(expected) 5543 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-chromium-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-chromium/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-chromium/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[firefox] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image: tests/src/utils/editor.ts#L47
4) [firefox] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image Error: expect(string).toMatchSnapshot(expected) @@ -48,11 +48,11 @@ ] }, { "type": "blockContainer", "attrs": { - "id": "2" + "id": "initialBlockId" }, "content": [ { "type": "paragraph", "attrs": { Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-firefox-linux.json Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-firefox/dragImage-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:130: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
3) [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": "2" + "id": "initialBlockId" }, "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
3) [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": "2" + "id": "initialBlockId" }, "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
3) [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": "2" + "id": "initialBlockId" }, "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
[firefox] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/src/end-to-end/colors/colors.test.ts#L110
2) [firefox] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 4891 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-firefox-retry2/blockBackgroundColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-firefox-retry2/blockBackgroundColor-diff.png 108 | await page.waitForTimeout(500); 109 | > 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png"); | ^ 111 | }); 112 | }); 113 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:110:37
[firefox] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/src/end-to-end/colors/colors.test.ts#L110
2) [firefox] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 4891 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-firefox-retry1/blockBackgroundColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-firefox-retry1/blockBackgroundColor-diff.png 108 | await page.waitForTimeout(500); 109 | > 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png"); | ^ 111 | }); 112 | }); 113 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:110:37
[firefox] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/src/end-to-end/colors/colors.test.ts#L110
2) [firefox] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color Error: expect(Buffer).toMatchSnapshot(expected) 4891 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-firefox/blockBackgroundColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-firefox/blockBackgroundColor-diff.png 108 | await page.waitForTimeout(500); 109 | > 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png"); | ^ 111 | }); 112 | }); 113 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:110:37
[firefox] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
1) [firefox] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 4886 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-firefox-retry2/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-firefox-retry2/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[firefox] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
1) [firefox] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 4886 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-firefox-retry1/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-firefox-retry1/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[firefox] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
1) [firefox] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Error: expect(Buffer).toMatchSnapshot(expected) 4886 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-firefox-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-firefox/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-firefox/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[webkit] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/src/end-to-end/colors/colors.test.ts#L110
3) [webkit] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color Error: expect(Buffer).toMatchSnapshot(expected) 17846 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockBackgroundColor-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-webkit/blockBackgroundColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-43656--set-block-background-color-webkit/blockBackgroundColor-diff.png 108 | await page.waitForTimeout(500); 109 | > 110 | expect(await page.screenshot()).toMatchSnapshot("blockBackgroundColor.png"); | ^ 111 | }); 112 | }); 113 | at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:110:37
[webkit] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
2) [webkit] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 17886 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry2/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry2/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[webkit] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
2) [webkit] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(Buffer).toMatchSnapshot(expected) 17886 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry1/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit-retry1/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[webkit] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color: tests/src/end-to-end/colors/colors.test.ts#L86
2) [webkit] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color Error: expect(Buffer).toMatchSnapshot(expected) 17886 pixels (ratio 0.01 of all image pixels) are different. Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/blockTextColor-webkit-linux.png Received: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit/blockTextColor-actual.png Diff: /__w/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Backgr-8ae7c-ble-to-set-block-text-color-webkit/blockTextColor-diff.png 84 | await page.waitForTimeout(500); 85 | > 86 | expect(await page.screenshot()).toMatchSnapshot("blockTextColor.png"); | ^ 87 | }); 88 | test("Should be able to set block background color", async ({ page }) => { 89 | await focusOnEditor(page); at /__w/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:86:37
[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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[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": "c41ee741b28e36cbca37cfa868a46a25e22514d0", "ref": "2154" }, "key": "KLvzvLH4HL", "runId": 19097716411, "webhookDebug": { "action": "requested", "head_branch": "migration", "head_repository_full_name": "TypeCellOS/BlockNote", "full_name": "TypeCellOS/BlockNote", "isPullRequest": true, "prNumber": 2154, "prNumberType": "number", "isNewPullRequest": true, "isOldPullRequest": false, "prKey": "TypeCellOS/BlockNote:migration", "oldPrDataHash": "PGzR67BxEQ", "lookupKey": "TypeCellOS/BlockNote:migration", "data": { "owner": "TypeCellOS", "repo": "BlockNote", "sha": "c41ee741b28e36cbca37cfa868a46a25e22514d0", "ref": "2154" } } }
🎭 Playwright Run Summary
11 failed [chromium] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color [chromium] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color [chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate [chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block [chromium] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image [chromium] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block [chromium] › src/end-to-end/indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block [chromium] › src/end-to-end/indentation/indentation.test.ts:75:7 › Check Block Indentation Functionality › Should be able to increase indentation for multiple blocks [chromium] › src/end-to-end/indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:17:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty 1 skipped 19 did not run 64 passed (8.7m)
🎭 Playwright Run Summary
9 failed [firefox] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color [firefox] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block [firefox] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image [firefox] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block [firefox] › src/end-to-end/indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block [firefox] › src/end-to-end/indentation/indentation.test.ts:75:7 › Check Block Indentation Functionality › Should be able to increase indentation for multiple blocks [firefox] › src/end-to-end/indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks [firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:17:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty 4 flaky [firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:36:7 › Check SlashMenu Functionality › Should be able to create h2 [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3 [firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots 11 skipped 11 did not run 60 passed (10.5m)
🎭 Playwright Run Summary
11 failed [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance [webkit] › src/end-to-end/colors/colors.test.ts:64:7 › Check Background & Text Color Functionality › Should be able to set block text color [webkit] › src/end-to-end/colors/colors.test.ts:88:7 › Check Background & Text Color Functionality › Should be able to set block background color [webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block [webkit] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image [webkit] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block [webkit] › src/end-to-end/indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block [webkit] › src/end-to-end/indentation/indentation.test.ts:75:7 › Check Block Indentation Functionality › Should be able to increase indentation for multiple blocks [webkit] › src/end-to-end/indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:17:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty 1 flaky [webkit] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─ 9 skipped 12 did not run 62 passed (11.2m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report-chromium Expired
4.15 MB
sha256:0fcad01c829d0fa6089fb12086c922a451dc7e4da5bb5db227ea5f905f4a2c0a
playwright-report-firefox Expired
4.6 MB
sha256:d31be869c03ca33b672f2e567de39ef85e65728d233ae3e2ae03881abfdb7b38
playwright-report-webkit Expired
5.81 MB
sha256:91f1afa7492ec142b2fe54b3889f4d38da1dc58ed686e2631a6225824a9cb9af
relative-ci-artifacts-editor Expired
45.5 KB
sha256:8f673c442da5cda2c15b9b53d8a7c836fbb7fc11ed497fe2a4826d14d1a01112