Special node quickfixes #8142
build.yml
on: pull_request
Playwright Build
2m 17s
Build
3m 19s
Matrix: playwright
Merge Playwright Reports
54s
Annotations
25 errors and 6 notices
|
src/test/commands/moveBlocks.test.ts > Test moveBlocksUp > Selection starts outside, ends in column:
packages/xl-multi-column/src/test/commands/moveBlocks.test.ts#L53
Error: Snapshot `Test moveBlocksUp > Selection starts outside, ends in column 1` mismatched
- Expected
+ Received
@@ -1,139 +1,121 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- {
- "children": [],
- "content": [
+ "children": [],
+ "content": [
- {
- "styles": {},
+ {
+ "styles": {},
- "text": "Paragraph 1",
+ "text": "Paragraph 1",
- "type": "text",
+ "type": "text",
- },
+ },
- ],
+ ],
- "id": "paragraph-1",
+ "id": "paragraph-1",
- "props": {
+ "props": {
- "backgroundColor": "default",
+ "backgroundColor": "default",
- "textAlignment": "left",
+ "textAlignment": "left",
- "textColor": "default",
+ "textColor": "default",
- },
+ },
- "type": "paragraph",
+ "type": "paragraph",
- },
- {
+ },
+ {
- "children": [
+ "children": [
- {
+ {
- "children": [
+ "children": [
- {
+ {
- "children": [],
+ "children": [],
- "content": [
+ "content": [
- {
+ {
- "styles": {},
+ "styles": {},
- "text": "Column Paragraph 0",
+ "text": "Column Paragraph 0",
- "type": "text",
+ "type": "text",
- },
+ },
- ],
+ ],
- "id": "column-paragraph-0",
+ "id": "column-paragraph-0",
- "props": {
+ "props": {
- "backgroundColor": "default",
+ "backgroundColor": "default",
- "textAlignment": "left",
+ "textAlignment": "left",
- "textColor": "default",
+ "textColor": "default",
- },
+ },
- "type": "paragraph",
+ "type": "paragraph",
- },
+ },
- {
+ {
- "children": [],
+ "children": [],
- "content": [
+ "content": [
- {
- "styles": {},
+ {
+ "styles": {},
- "text": "Column Paragraph 1",
+ "text": "Column Paragraph 1",
- "type": "text",
+ "type": "text",
- },
+ },
- ],
- "id": "column-paragraph-1",
+ ],
+ "id": "column-paragraph-1",
- "props": {
+ "props": {
- "backgroundColor": "default",
+ "backgroundColor": "default",
- "textAlignment": "left",
+ "textAlignment": "left",
- "textColor": "default",
+ "textColor": "default",
- },
+ },
- "type": "paragraph",
+ "type": "paragraph",
- },
+ },
- ],
- "content": undefined,
+ ],
+ "content": undefined,
- "id": "column-0",
+ "id": "column-0",
- "props": {
+ "props": {
- "width": 1,
+ "width": 1,
- },
+ },
- "type": "column",
+ "type": "column",
- },
+ },
- {
- "children": [
+ {
+ "children": [
-
|
|
src/test/commands/moveBlocks.test.ts > Test moveBlocksUp > Selection across columns:
packages/xl-multi-column/src/test/commands/moveBlocks.test.ts#L45
Error: Snapshot `Test moveBlocksUp > Selection across columns 1` mismatched
- Expected
+ Received
@@ -1,26 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/moveBlocks.test.ts:45:34
|
|
src/test/commands/moveBlocks.test.ts > Test moveBlocksUp > Selection spans column list:
packages/xl-multi-column/src/test/commands/moveBlocks.test.ts#L37
Error: Snapshot `Test moveBlocksUp > Selection spans column list 1` mismatched
- Expected
+ Received
@@ -1,156 +1,138 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- {
- "children": [],
+ "children": [],
- "content": [
+ "content": [
- {
- "styles": {},
+ {
+ "styles": {},
- "text": "Paragraph 1",
+ "text": "Paragraph 1",
- "type": "text",
+ "type": "text",
- },
+ },
- ],
+ ],
- "id": "paragraph-1",
+ "id": "paragraph-1",
- "props": {
+ "props": {
- "backgroundColor": "default",
+ "backgroundColor": "default",
- "textAlignment": "left",
+ "textAlignment": "left",
- "textColor": "default",
+ "textColor": "default",
- },
+ },
- "type": "paragraph",
+ "type": "paragraph",
- },
+ },
- {
+ {
- "children": [
+ "children": [
- {
- "children": [
+ {
+ "children": [
- {
+ {
- "children": [],
+ "children": [],
- "content": [
+ "content": [
- {
- "styles": {},
+ {
+ "styles": {},
- "text": "Column Paragraph 0",
+ "text": "Column Paragraph 0",
- "type": "text",
+ "type": "text",
- },
+ },
- ],
+ ],
- "id": "column-paragraph-0",
+ "id": "column-paragraph-0",
- "props": {
+ "props": {
- "backgroundColor": "default",
+ "backgroundColor": "default",
- "textAlignment": "left",
+ "textAlignment": "left",
- "textColor": "default",
+ "textColor": "default",
- },
+ },
- "type": "paragraph",
+ "type": "paragraph",
- },
- {
+ },
+ {
- "children": [],
+ "children": [],
- "content": [
+ "content": [
- {
- "styles": {},
+ {
+ "styles": {},
- "text": "Column Paragraph 1",
+ "text": "Column Paragraph 1",
- "type": "text",
+ "type": "text",
- },
+ },
- ],
+ ],
- "id": "column-paragraph-1",
+ "id": "column-paragraph-1",
- "props": {
+ "props": {
- "backgroundColor": "default",
+ "backgroundColor": "default",
- "textAlignment": "left",
+ "textAlignment": "left",
- "textColor": "default",
+ "textColor": "default",
- },
- "type": "paragraph",
+ },
+ "type": "paragraph",
- },
- ],
+ },
+ ],
- "content": undefined,
+ "content": undefined,
- "id": "column-0",
+ "id": "column-0",
- "props": {
+ "props": {
- "width": 1,
+ "width": 1,
- },
+ },
- "type": "column",
+ "type": "column",
- },
+ },
- {
+ {
- "children": [
+ "children": [
- {
-
|
|
src/test/commands/moveBlocks.test.ts > Test moveBlocksUp > Move into previous column:
packages/xl-multi-column/src/test/commands/moveBlocks.test.ts#L29
Error: Snapshot `Test moveBlocksUp > Move into previous column 1` mismatched
- Expected
+ Received
@@ -1,26 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/moveBlocks.test.ts:29:34
|
|
src/test/commands/moveBlocks.test.ts > Test moveBlocksUp > Move out of column list:
packages/xl-multi-column/src/test/commands/moveBlocks.test.ts#L21
Error: Snapshot `Test moveBlocksUp > Move out of column list 1` mismatched
- Expected
+ Received
@@ -1,26 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/moveBlocks.test.ts:21:34
|
|
src/test/commands/moveBlocks.test.ts > Test moveBlocksUp > Move into column list:
packages/xl-multi-column/src/test/commands/moveBlocks.test.ts#L13
Error: Snapshot `Test moveBlocksUp > Move into column list 1` mismatched
- Expected
+ Received
@@ -1,26 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/moveBlocks.test.ts:13:34
|
|
src/test/commands/insertBlocks.test.ts > Test insertBlocks > Insert paragraph into column:
packages/xl-multi-column/src/test/commands/insertBlocks.test.ts#L204
Error: Snapshot `Test insertBlocks > Insert paragraph into column 1` mismatched
- Expected
+ Received
@@ -1,26 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/insertBlocks.test.ts:204:34
|
|
src/test/commands/insertBlocks.test.ts > Test insertBlocks > Insert column list into paragraph:
packages/xl-multi-column/src/test/commands/insertBlocks.test.ts#L150
Error: Snapshot `Test insertBlocks > Insert column list into paragraph 1` mismatched
- Expected
+ Received
@@ -1,88 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- {
- "children": [
- {
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Inserted Column Paragraph",
- "type": "text",
- },
- ],
- "id": "2",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
- "content": undefined,
- "id": "1",
- "props": {
- "width": 1,
- },
- "type": "column",
- },
- {
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Inserted Column Paragraph",
- "type": "text",
- },
- ],
- "id": "4",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
- "content": undefined,
- "id": "3",
- "props": {
- "width": 1,
- },
- "type": "column",
- },
- ],
- "content": undefined,
- "id": "0",
- "props": {},
- "type": "columnList",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/insertBlocks.test.ts:150:34
|
|
src/test/commands/insertBlocks.test.ts > Test insertBlocks > Insert column with paragraph into column list:
packages/xl-multi-column/src/test/commands/insertBlocks.test.ts#L116
Error: Snapshot `Test insertBlocks > Insert column with paragraph into column list 1` mismatched
- Expected
+ Received
@@ -1,26 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/insertBlocks.test.ts:116:34
|
|
src/test/commands/insertBlocks.test.ts > Test insertBlocks > Insert valid column list with two columns:
packages/xl-multi-column/src/test/commands/insertBlocks.test.ts#L96
Error: Snapshot `Test insertBlocks > Insert valid column list with two columns 1` mismatched
- Expected
+ Received
@@ -1,26 +1,8 @@
[
{
- "children": [
- {
- "children": [],
- "content": [
- {
- "styles": {},
- "text": "Nested Paragraph 0",
- "type": "text",
- },
- ],
- "id": "nested-paragraph-0",
- "props": {
- "backgroundColor": "default",
- "textAlignment": "left",
- "textColor": "default",
- },
- "type": "paragraph",
- },
- ],
+ "children": [],
"content": [
{
"styles": {},
"text": "Paragraph 0",
"type": "text",
❯ src/test/commands/insertBlocks.test.ts:96:34
|
|
Playwright Tests - firefox (1/2)
Process completed with exit code 1.
|
|
[firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-firefox-retry2/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
[firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-firefox-retry1/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
[firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-firefox/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
Playwright Tests - chromium (1/2)
Process completed with exit code 1.
|
|
[chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks:
tests/src/end-to-end/customblocks/customblocks.test.ts#L33
3) [chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Error: expect(Buffer).toMatchSnapshot(expected)
9468 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/react-interactivity-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-chromium/react-interactivity-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-chromium/react-interactivity-diff.png
31 |
32 | await compareDocToSnapshot(page, "reactInteractivity");
> 33 | expect(await page.screenshot()).toMatchSnapshot("react-interactivity.png");
| ^
34 | });
35 | });
36 |
at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:33:37
|
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:147:7 › Check Copy/Paste Functionality › Images should keep props:
tests/src/utils/editor.ts#L47
2) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:147:7 › Check Copy/Paste Functionality › Images should keep props
Error: expect(string).toMatchSnapshot(expected)
@@ -51,20 +51,76 @@
"attrs": {
"id": "3"
},
"content": [
{
- "type": "image",
+ "type": "numberedListItem",
"attrs": {
- "textAlignment": "left",
"backgroundColor": "default",
- "name": "800x540.png",
- "url": "https://placehold.co/800x540.png",
- "caption": "",
- "showPreview": true,
- "previewWidth": 573
- }
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "List Item 1"
+ }
+ ]
+ },
+ {
+ "type": "blockGroup",
+ "content": [
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "4"
+ },
+ "content": [
+ {
+ "type": "numberedListItem",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "List Item 2"
+ }
+ ]
+ },
+ {
+ "type": "blockGroup",
+ "content": [
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "5"
+ },
+ "content": [
+ {
+ "type": "numberedListItem",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "List Item 3"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]
}
]
}
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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
|
|
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-retry2/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-retry1/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
Playwright Tests - webkit (1/2)
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image:
tests/src/end-to-end/images/images.test.ts#L95
2) [webkit] › src/end-to-end/images/images.test.ts:55: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
93 | await page.waitForTimeout(500);
94 | await compareDocToSnapshot(page, "resizeImage");
> 95 | expect(await page.screenshot()).toMatchSnapshot("resize-image.png");
| ^
96 | });
97 | test("Should be able to delete image with backspace", async ({ page }) => {
98 | await page.goto(BASE_URL);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts:95:37
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-webkit-retry2/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-webkit-retry1/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -17,26 +17,10 @@
"textColor": "default",
"textAlignment": "left",
"level": 1,
"isToggleable": false
}
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
},
{
"type": "blockGroup",
"content": [
{
@@ -88,10 +72,26 @@
]
}
]
}
]
+ },
+ {
+ "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-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-webkit/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 |
50 | /**
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:98:5
|
|
🎭 Playwright Run Summary
1 failed
[firefox] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
16 skipped
28 did not run
51 passed (1.4m)
|
|
🎭 Playwright Run Summary
1 failed
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
2 flaky
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:147:7 › Check Copy/Paste Functionality › Images should keep props
[chromium] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
2 skipped
28 did not run
63 passed (1.3m)
|
|
🎭 Playwright Run Summary
43 passed (35.5s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (39.5s)
|
|
🎭 Playwright Run Summary
1 failed
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:81:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
1 flaky
[webkit] › src/end-to-end/images/images.test.ts:55:7 › Check Image Block and Toolbar functionality › Should be able to resize image
12 skipped
28 did not run
54 passed (1.9m)
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
3.28 MB |
sha256:666ba4a59ce09785de0427a7948c84216dae43f38b439b217d18d66577080f2f
|
|
|
blob-report-chromium-2
Expired
|
52.5 KB |
sha256:385715c900e422ce7e6c8b86e2e5bfd4771de940bde45d13aaa3f219d5467dd6
|
|
|
blob-report-firefox-1
Expired
|
948 KB |
sha256:a210d08e324672e47f0b58b93a9e8fc15a6fcebd6a3a6dbd6a2bbafa3bf0ef2c
|
|
|
blob-report-firefox-2
Expired
|
52.1 KB |
sha256:fe8d6df9c6a2b3a96bd56da4a255b1c299fe6ddd6f5b1a92b931c6e590f12f21
|
|
|
blob-report-webkit-1
Expired
|
1.69 MB |
sha256:5530d5befdd75d9c8552469ecdea0a830430d77b3ca0598e3495d082113e061b
|
|
|
blob-report-webkit-2
Expired
|
53.2 KB |
sha256:394d8c756a95e73b5e1a37d535672fe460d9713c12beeb431a1aa8ceca798259
|
|
|
playwright-build
Expired
|
21.6 MB |
sha256:49187ec486ce4e77a906f5e8e8f368c09f30031ec244fa80f22e5acebeee9321
|
|
|
playwright-report-chromium-1
|
3.74 MB |
sha256:ed3ac469150b1f13dcfd5db5e4524b4890a2c8a9b6820853d60332177a41e0a7
|
|
|
playwright-report-chromium-2
|
210 KB |
sha256:7591c3f8b18f54aead77a917b4a29bbd42cc3fb676a01f8265ed5086d0fc1048
|
|
|
playwright-report-firefox-1
|
1.4 MB |
sha256:4923bfed701815f5ebdfe6cb6e4d09bca160b727f4c7ce067ea8ed81d62fe90f
|
|
|
playwright-report-firefox-2
|
209 KB |
sha256:99d4b3cd6c658453e5d6274f64fc440fdea2e216ff9e822fc4dd7bf3e37e4100
|
|
|
playwright-report-merged
|
6.04 MB |
sha256:5fb01e6033d809a38436b323254245b88064faa3dab8c1c319021141b37c8257
|
|
|
playwright-report-webkit-1
|
2.1 MB |
sha256:27486efe77bbc1212d62a8a3ff5edf008c792ddd3fdb4a9eb4d691cfec3afa3a
|
|
|
playwright-report-webkit-2
|
210 KB |
sha256:cf806f3e63e6e084453ae00f905977d7d16bde85eaeaec76379f8826a1d813f6
|
|