fix: adjust input rules to be more tolerant to starting whitespace #6751
Annotations
30 errors and 4 notices
|
[chromium] › 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) [chromium] › 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": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-chromium/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
|
|
[chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-chromium-retry2/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-chromium-retry1/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-chromium/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[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
2) [chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -5,11 +5,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -77,11 +77,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"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-retry2/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/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
2) [chromium] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -5,11 +5,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -77,11 +77,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"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-retry1/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/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
2) [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)
@@ -5,11 +5,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -77,11 +77,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"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
1) [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)
@@ -27,11 +27,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -49,11 +49,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -71,11 +71,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -87,11 +87,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "7"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "8"
+ "id": "5"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -131,11 +131,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "9"
+ "id": "6"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -153,11 +153,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "10"
+ "id": "7"
},
"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
1) [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)
@@ -27,11 +27,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -49,11 +49,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -71,11 +71,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -87,11 +87,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "7"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "8"
+ "id": "5"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -131,11 +131,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "9"
+ "id": "6"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -153,11 +153,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "10"
+ "id": "7"
},
"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
1) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:23:7 › Check Copy/Paste Functionality › Paragraphs should stay separate
Error: expect(string).toMatchSnapshot(expected)
@@ -27,11 +27,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -49,11 +49,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -71,11 +71,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -87,11 +87,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "7"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "8"
+ "id": "5"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -131,11 +131,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "9"
+ "id": "6"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -153,11 +153,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "10"
+ "id": "7"
},
"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
|
|
[firefox] › src/end-to-end/indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block:
tests/src/utils/editor.ts#L47
4) [firefox] › src/end-to-end/indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block
Error: expect(string).toMatchSnapshot(expected)
@@ -28,11 +28,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -56,11 +56,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -81,11 +81,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "3"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "5"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentSingleBlock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/indentation-indentation-Ch-d0a24-ndentation-for-single-block-firefox/decreaseIndentSingleBlock-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/indentation/indentation.test.ts:73:5
|
|
[firefox] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block:
tests/src/utils/editor.ts#L47
3) [firefox] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -28,11 +28,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -81,11 +81,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "3"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "5"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentSingleBlock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/indentation-indentation-Ch-90a7c-ndentation-for-single-block-firefox-retry2/increaseIndentSingleBlock-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/indentation/indentation.test.ts:44:5
|
|
[firefox] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block:
tests/src/utils/editor.ts#L47
3) [firefox] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -28,11 +28,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -81,11 +81,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "3"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "5"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentSingleBlock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/indentation-indentation-Ch-90a7c-ndentation-for-single-block-firefox-retry1/increaseIndentSingleBlock-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/indentation/indentation.test.ts:44:5
|
|
[firefox] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block:
tests/src/utils/editor.ts#L47
3) [firefox] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block
Error: expect(string).toMatchSnapshot(expected)
@@ -28,11 +28,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -81,11 +81,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "3"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "5"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentSingleBlock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/indentation-indentation-Ch-90a7c-ndentation-for-single-block-firefox/increaseIndentSingleBlock-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/indentation/indentation.test.ts:44:5
|
|
[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
2) [firefox] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -48,11 +48,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"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-retry2/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/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image:
tests/src/utils/editor.ts#L47
2) [firefox] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -48,11 +48,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"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-retry1/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/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image:
tests/src/utils/editor.ts#L47
2) [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": "3"
+ "id": "2"
},
"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
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox-retry2/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox-retry1/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
1) [firefox] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[webkit] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block:
tests/src/utils/editor.ts#L47
4) [webkit] › src/end-to-end/indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block
Error: expect(string).toMatchSnapshot(expected)
@@ -28,11 +28,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -81,11 +81,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "3"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -109,11 +109,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "5"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/indentation/indentation.test.ts-snapshots/increaseIndentSingleBlock-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/indentation-indentation-Ch-90a7c-ndentation-for-single-block-webkit/increaseIndentSingleBlock-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/indentation/indentation.test.ts:44:5
|
|
[webkit] › 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
3) [webkit] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -48,11 +48,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-webkit-retry2/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
|
|
[webkit] › 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
3) [webkit] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -48,11 +48,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-webkit-retry1/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
|
|
[webkit] › 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
3) [webkit] › 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": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/images/images.test.ts-snapshots/dragImage-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/images-images-Check-Image--941aa-hould-be-able-to-drag-image-webkit/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
|
|
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-webkit-retry2/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-webkit-retry1/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/draghandle/draghandle.test.ts:120:7 › Check Draghandle functionality › Click add button for non-selected empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -47,11 +47,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-webkit/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[webkit] › 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
1) [webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -5,11 +5,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -77,11 +77,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-webkit-retry2/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
|
|
[webkit] › 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
1) [webkit] › src/end-to-end/dragdrop/dragdrop.test.ts:20:7 › Check Block Dragging Functionality › Should be able to drag & drop non-nested blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -5,11 +5,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -77,11 +77,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-webkit-retry1/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
|
|
[webkit] › 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
1) [webkit] › 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)
@@ -5,11 +5,11 @@
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -53,11 +53,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "2"
},
"content": [
{
"type": "heading",
"attrs": {
@@ -77,11 +77,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "6"
+ "id": "3"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/dragdrop/dragdrop.test.ts-snapshots/dragdropsingle-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/dragdrop-dragdrop-Check-Bl-5f96c-drag-drop-non-nested-blocks-webkit/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
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "7679ed26404488344ba4c7c3418f59dfb8b1faad",
"ref": "2341"
},
"key": "MGZye6kux1",
"runId": 20818044155,
"webhookDebug": {
"action": "requested",
"head_branch": "input-rules",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2341,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:input-rules",
"oldPrDataHash": "noFNCw6tQ5",
"lookupKey": "TypeCellOS/BlockNote:input-rules",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "7679ed26404488344ba4c7c3418f59dfb8b1faad",
"ref": "2341"
}
}
}
|
|
🎭 Playwright Run Summary
9 failed
[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
24 did not run
66 passed (3.0m)
|
|
🎭 Playwright Run Summary
7 failed
[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
11 skipped
16 did not run
66 passed (3.9m)
|
|
🎭 Playwright Run Summary
8 failed
[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/basics/basicblocks.test.ts:11:7 › Check basic text block appearance › Check basic text block appearance
9 skipped
17 did not run
65 passed (4.5m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
3.72 MB |
sha256:40344914b84a79f0752064c58a7000d69ed310b884ef305d9051e6677972c4ad
|
|
|
playwright-report-firefox
Expired
|
2.57 MB |
sha256:aebb7ef4a8ce251ba2e58ccd59e2ba6f3103597fe0a7fea9f4c5f121da188b44
|
|
|
playwright-report-webkit
Expired
|
5.32 MB |
sha256:2095c19e6d6a768820f1101bb23dec8113158b5953ecb65377605be42b84d264
|
|
|
relative-ci-artifacts-editor
|
46.3 KB |
sha256:ccc979f163dfad05daeeb6868d02e6e84487012f29d9cf85a5d41b0067fbc07d
|
|