test: get snapshots working again #7013
Annotations
26 errors, 4 warnings, and 3 notices
|
Build
Process completed with exit code 130.
|
|
src/docx/docxExporter.test.ts > exporter > should export a document with custom document options:
packages/xl-docx-exporter/src/docx/docxExporter.test.ts#L113
Error: Snapshot `exporter > should export a document with custom document options 1` mismatched
- Expected
+ Received
@@ -10,8 +10,8 @@
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="" TargetMode="External"/>
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm" TargetMode="External"/>
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3" TargetMode="External"/>
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="" TargetMode="External"/>
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink" Target="https://www.blocknotejs.org" TargetMode="External"/>
- <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/e1037269513fbdc121e06bb1bc7cf37b9045c8fc.gif"/>
+ <Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image" Target="media/c0c1a1a0abe0fdd4533c468319977db996162c95.gif"/>
<Relationship Id="FAKE-ID" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable" Target="fontTable.xml"/>
</Relationships>
❯ src/docx/docxExporter.test.ts:113:7
|
|
src/docx/docxExporter.test.ts > exporter > should export a document:
packages/xl-docx-exporter/src/docx/docxExporter.test.ts#L54
Error: Snapshot `exporter > should export a document 1` mismatched
- Expected
+ Received
@@ -368,11 +368,11 @@
</w:p>
<w:p>
<w:r>
<w:drawing>
<wp:inline distT="0" distB="0" distL="0" distR="0">
- <wp:extent cx="3162300" cy="3162300"/>
+ <wp:extent cx="3162300" cy="3067050"/>
<wp:effectExtent t="0" r="0" b="0" l="0"/>
<wp:docPr id="1" name="From https://placehold.co/332x322.jpg" descr="From https://placehold.co/332x322.jpg" title="From https://placehold.co/332x322.jpg"/>
<wp:cNvGraphicFramePr>
<a:graphicFrameLocks xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" noChangeAspect="1"/>
</wp:cNvGraphicFramePr>
@@ -393,11 +393,11 @@
</a:stretch>
</pic:blipFill>
<pic:spPr bwMode="auto">
<a:xfrm>
<a:off x="0" y="0"/>
- <a:ext cx="3162300" cy="3162300"/>
+ <a:ext cx="3162300" cy="3067050"/>
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst/>
</a:prstGeom>
</pic:spPr>
@@ -421,11 +421,11 @@
<w:jc w:val="right"/>
</w:pPr>
<w:r>
<w:drawing>
<wp:inline distT="0" distB="0" distL="0" distR="0">
- <wp:extent cx="1905000" cy="1905000"/>
+ <wp:extent cx="1905000" cy="1847620"/>
<wp:effectExtent t="0" r="0" b="0" l="0"/>
<wp:docPr id="1" name="" descr="" title=""/>
<wp:cNvGraphicFramePr>
<a:graphicFrameLocks xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" noChangeAspect="1"/>
</wp:cNvGraphicFramePr>
@@ -446,11 +446,11 @@
</a:stretch>
</pic:blipFill>
<pic:spPr bwMode="auto">
<a:xfrm>
<a:off x="0" y="0"/>
- <a:ext cx="1905000" cy="1905000"/>
+ <a:ext cx="1905000" cy="1847620"/>
</a:xfrm>
<a:prstGeom prst="rect">
<a:avLst/>
</a:prstGeom>
</pic:spPr>
❯ src/docx/docxExporter.test.ts:54:5
|
|
Playwright Tests - chromium
When 'archive' is set to false, only a single file can be uploaded. Found 54 files to upload.
|
|
Playwright Tests - chromium
Process completed with exit code 1.
|
|
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
2) [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -23,91 +23,22 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "1"
},
"content": [
{
"type": "paragraph",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left"
}
- },
- {
- "type": "blockGroup",
- "content": [
- {
- "type": "blockContainer",
- "attrs": {
- "id": "1"
- },
- "content": [
- {
- "type": "heading",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left",
- "level": 2,
- "isToggleable": false
- },
- "content": [
- {
- "type": "text",
- "text": "Heading"
- }
- ]
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "2"
- },
- "content": [
- {
- "type": "heading",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left",
- "level": 3,
- "isToggleable": false
- },
- "content": [
- {
- "type": "text",
- "text": "Heading"
- }
- ]
- }
- ]
- }
- ]
}
]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
- }
- ]
}
]
}
]
}
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocksEmpty-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-chromium/enterPreservesNestedBlocksEmpty-json-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
a
|
|
[chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
152 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-equality-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium-retry2/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium-retry2/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
152 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-equality-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium-retry1/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium-retry1/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Error: expect(Buffer).toMatchSnapshot(expected)
152 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-equality-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-chromium/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
Playwright Tests - firefox
When 'archive' is set to false, only a single file can be uploaded. Found 24 files to upload.
|
|
Playwright Tests - firefox
Process completed with exit code 1.
|
|
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L41
2) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar
Error: expect(Buffer).toMatchSnapshot(expected)
228 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-firefox/ariakit-link-toolbar-diff.png
39 |
40 | await page.waitForTimeout(500);
> 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png");
| ^
42 | });
43 | test("Check slash menu", async ({ page }) => {
44 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
|
|
[firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
147 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-equality-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox-retry2/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox-retry2/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
147 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-equality-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox-retry1/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox-retry1/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
1) [firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Error: expect(Buffer).toMatchSnapshot(expected)
147 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-equality-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-firefox/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
Playwright Tests - webkit
When 'archive' is set to false, only a single file can be uploaded. Found 28 files to upload.
|
|
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
3) [webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
155 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-equality-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit-retry2/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit-retry2/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
3) [webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
155 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-equality-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit-retry1/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit-retry1/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor:
tests/src/end-to-end/static/static.test.ts#L37
3) [webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
Error: expect(Buffer).toMatchSnapshot(expected)
155 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-equality-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit/static-rendering-equality-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/static-static-Check-static-17607-isually-matches-live-editor-webkit/static-rendering-equality-diff.png
35 | scale: "css",
36 | }),
> 37 | ).toMatchSnapshot("static-rendering-equality.png");
| ^
38 |
39 | await page.goto(BASIC_BLOCKS_STATIC_URL);
40 | await page.waitForLoadState("networkidle");
at /__w/BlockNote/BlockNote/tests/src/end-to-end/static/static.test.ts:37:7
|
|
[webkit] › src/end-to-end/images/images.test.ts:62:7 › Check Image Block and Toolbar functionality › Should be able to resize image:
tests/src/end-to-end/images/images.test.ts#L101
2) [webkit] › src/end-to-end/images/images.test.ts:62:7 › Check Image Block and Toolbar functionality › Should be able to resize image
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
1232 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry2/resize-image-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry2/resize-image-diff.png
99 | await page.waitForTimeout(500);
100 | await compareDocToSnapshot(page, "resizeImage");
> 101 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png");
| ^
102 | });
103 | test("Should be able to delete image with backspace", async ({ page }) => {
104 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:101:37
|
|
[webkit] › src/end-to-end/images/images.test.ts:62:7 › Check Image Block and Toolbar functionality › Should be able to resize image:
tests/src/end-to-end/images/images.test.ts#L101
2) [webkit] › src/end-to-end/images/images.test.ts:62:7 › Check Image Block and Toolbar functionality › Should be able to resize image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
1232 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry1/resize-image-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit-retry1/resize-image-diff.png
99 | await page.waitForTimeout(500);
100 | await compareDocToSnapshot(page, "resizeImage");
> 101 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png");
| ^
102 | });
103 | test("Should be able to delete image with backspace", async ({ page }) => {
104 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:101:37
|
|
[webkit] › src/end-to-end/images/images.test.ts:62:7 › Check Image Block and Toolbar functionality › Should be able to resize image:
tests/src/end-to-end/images/images.test.ts#L101
2) [webkit] › src/end-to-end/images/images.test.ts:62:7 › Check Image Block and Toolbar functionality › Should be able to resize image
Error: expect(Buffer).toMatchSnapshot(expected)
1232 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/resize-image-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--cb35f-uld-be-able-to-resize-image-webkit/resize-image-diff.png
99 | await page.waitForTimeout(500);
100 | await compareDocToSnapshot(page, "resizeImage");
> 101 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png");
| ^
102 | });
103 | test("Should be able to delete image with backspace", async ({ page }) => {
104 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:101: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#L30
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: expect(Buffer).toMatchSnapshot(expected)
Expected an image 2560px by 2926px, received 2560px by 2368px. 1243725 pixels (ratio 0.17 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-webkit-retry1/basicblocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-webkit-retry1/basicblocks-diff.png
28 |
29 | await page.waitForTimeout(100);
> 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(
| ^
31 | "basicblocks.png",
32 | );
33 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
|
|
[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#L30
1) [webkit] › src/end-to-end/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 2560px by 2926px, received 2560px by 2368px. 1243725 pixels (ratio 0.17 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts-snapshots/basicblocks-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-webkit/basicblocks-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/basics-basicblocks-Check-b-0319e-basic-text-block-appearance-webkit/basicblocks-diff.png
28 |
29 | await page.waitForTimeout(100);
> 30 | expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(
| ^
31 | "basicblocks.png",
32 | );
33 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/basics/basicblocks.test.ts:30:55
|
|
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, 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, 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, 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, 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 Run Summary
1 failed
[chromium] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
1 flaky
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
1 skipped
119 passed (2.9m)
|
|
🎭 Playwright Run Summary
1 failed
[firefox] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
1 flaky
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar
11 skipped
109 passed (3.4m)
|
|
🎭 Playwright Run Summary
3 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/images/images.test.ts:62:7 › Check Image Block and Toolbar functionality › Should be able to resize image
[webkit] › src/end-to-end/static/static.test.ts:16:7 › Check static rendering › Check static rendering visually matches live editor
9 skipped
110 passed (4.6m)
|