refactor: zod for props #6444
Annotations
31 errors and 3 notices
|
Build
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/utils/editor.ts#L47
4) [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(string).toMatchSnapshot(expected)
@@ -9,10 +9,33 @@
"attrs": {
"id": "0"
},
"content": [
{
+ "type": "advanced",
+ "attrs": {
+ "nested": {
+ "type": "warning",
+ "message": "Warning"
+ }
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Advanced"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
"type": "alert",
"attrs": {
"textAlignment": "left",
"textColor": "default",
"type": "info"
@@ -27,11 +50,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "simpleImage",
"attrs": {
@@ -41,11 +64,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
"type": "bracketsParagraph",
"attrs": {
@@ -63,11 +86,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/reactInteractivity-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-chromium/reactInteractivity-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/customblocks/customblocks.test.ts:32:5
|
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props:
tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -35,13 +35,13 @@
{
"type": "image",
"attrs": {
"textAlignment": "left",
"backgroundColor": "default",
+ "caption": "",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
- "caption": "",
"showPreview": true,
"previewWidth": 573
}
}
]
@@ -71,13 +71,13 @@
{
"type": "image",
"attrs": {
"textAlignment": "left",
"backgroundColor": "default",
+ "caption": "",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
- "caption": "",
"showPreview": true,
"previewWidth": 573
}
}
]
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium-retry2/images-json-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:189:5
|
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props:
tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -35,13 +35,13 @@
{
"type": "image",
"attrs": {
"textAlignment": "left",
"backgroundColor": "default",
+ "caption": "",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
- "caption": "",
"showPreview": true,
"previewWidth": 573
}
}
]
@@ -71,13 +71,13 @@
{
"type": "image",
"attrs": {
"textAlignment": "left",
"backgroundColor": "default",
+ "caption": "",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
- "caption": "",
"showPreview": true,
"previewWidth": 573
}
}
]
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium-retry1/images-json-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:189:5
|
|
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props:
tests/src/utils/editor.ts#L47
3) [chromium] › src/end-to-end/copypaste/copypaste.test.ts:142:7 › Check Copy/Paste Functionality › Images should keep props
Error: expect(string).toMatchSnapshot(expected)
@@ -35,13 +35,13 @@
{
"type": "image",
"attrs": {
"textAlignment": "left",
"backgroundColor": "default",
+ "caption": "",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
- "caption": "",
"showPreview": true,
"previewWidth": 573
}
}
]
@@ -71,13 +71,13 @@
{
"type": "image",
"attrs": {
"textAlignment": "left",
"backgroundColor": "default",
+ "caption": "",
"name": "jk-placeholder-image.jpg",
"url": "https://www.pulsecarshalton.co.uk/wp-content/uploads/2016/08/jk-placeholder-image.jpg",
- "caption": "",
"showPreview": true,
"previewWidth": 573
}
}
]
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts-snapshots/images-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/copypaste-copypaste-Check--8319b-ty-Images-should-keep-props-chromium/images-json-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/copypaste/copypaste.test.ts:189:5
|
|
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [chromium] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
9801 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-slash-menu-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-chromium-retry2/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-chromium-retry2/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [chromium] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
9801 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-slash-menu-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-chromium-retry1/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-chromium-retry1/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [chromium] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu
Error: expect(Buffer).toMatchSnapshot(expected)
9801 pixels (ratio 0.02 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-slash-menu-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-chromium/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-chromium/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [chromium] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
680 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-formatting-toolbar-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-chromium-retry2/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-chromium-retry2/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [chromium] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
680 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-formatting-toolbar-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-chromium-retry1/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-chromium-retry1/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [chromium] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Error: expect(Buffer).toMatchSnapshot(expected)
680 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-formatting-toolbar-chromium-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-chromium/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-chromium/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[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
4) [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)
@@ -38,11 +38,11 @@
"type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left",
- "level": 1,
+ "level": 2,
"isToggleable": true
}
}
]
},
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/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks:
tests/src/utils/editor.ts#L47
3) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -9,10 +9,33 @@
"attrs": {
"id": "0"
},
"content": [
{
+ "type": "advanced",
+ "attrs": {
+ "nested": {
+ "type": "warning",
+ "message": "Warning"
+ }
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Advanced"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
"type": "alert",
"attrs": {
"textAlignment": "left",
"textColor": "default",
"type": "info"
@@ -27,11 +50,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "simpleImage",
"attrs": {
@@ -41,11 +64,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
"type": "bracketsParagraph",
"attrs": {
@@ -63,11 +86,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/reactInteractivity-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-webkit-retry2/reactInteractivity-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/customblocks/customblocks.test.ts:32:5
|
|
[webkit] › 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/utils/editor.ts#L47
3) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -9,10 +9,33 @@
"attrs": {
"id": "0"
},
"content": [
{
+ "type": "advanced",
+ "attrs": {
+ "nested": {
+ "type": "warning",
+ "message": "Warning"
+ }
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Advanced"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
"type": "alert",
"attrs": {
"textAlignment": "left",
"textColor": "default",
"type": "info"
@@ -27,11 +50,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "simpleImage",
"attrs": {
@@ -41,11 +64,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
"type": "bracketsParagraph",
"attrs": {
@@ -63,11 +86,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/reactInteractivity-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-webkit-retry1/reactInteractivity-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/customblocks/customblocks.test.ts:32:5
|
|
[webkit] › 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/utils/editor.ts#L47
3) [webkit] › 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(string).toMatchSnapshot(expected)
@@ -9,10 +9,33 @@
"attrs": {
"id": "0"
},
"content": [
{
+ "type": "advanced",
+ "attrs": {
+ "nested": {
+ "type": "warning",
+ "message": "Warning"
+ }
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Advanced"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
"type": "alert",
"attrs": {
"textAlignment": "left",
"textColor": "default",
"type": "info"
@@ -27,11 +50,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "simpleImage",
"attrs": {
@@ -41,11 +64,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
"type": "bracketsParagraph",
"attrs": {
@@ -63,11 +86,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/reactInteractivity-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-webkit/reactInteractivity-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/customblocks/customblocks.test.ts:32:5
|
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
22058 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-slash-menu-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry2/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry2/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
22058 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-slash-menu-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry1/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit-retry1/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ──
Error: expect(Buffer).toMatchSnapshot(expected)
22058 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-slash-menu-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-webkit/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
1975 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-formatting-toolbar-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-webkit-retry2/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-webkit-retry2/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
1975 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-formatting-toolbar-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-webkit-retry1/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-webkit-retry1/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [webkit] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Error: expect(Buffer).toMatchSnapshot(expected)
1975 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-formatting-toolbar-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-webkit/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-webkit/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[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
4) [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)
@@ -38,11 +38,11 @@
"type": "heading",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left",
- "level": 1,
+ "level": 2,
"isToggleable": true
}
}
]
},
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox/addnonselectedemptyblock-actual.json
at ../utils/editor.ts:47
45 | // Remove id from docs
46 | const doc = JSON.stringify(await getDoc(page), null, 2);
> 47 | expect(doc).toMatchSnapshot(`${name}.json`);
| ^
48 | }
49 |
at compareDocToSnapshot (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:127:5
|
|
[firefox] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks:
tests/src/utils/editor.ts#L47
3) [firefox] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -9,10 +9,33 @@
"attrs": {
"id": "0"
},
"content": [
{
+ "type": "advanced",
+ "attrs": {
+ "nested": {
+ "type": "warning",
+ "message": "Warning"
+ }
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Advanced"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
"type": "alert",
"attrs": {
"textAlignment": "left",
"textColor": "default",
"type": "info"
@@ -27,11 +50,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "simpleImage",
"attrs": {
@@ -41,11 +64,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
"type": "bracketsParagraph",
"attrs": {
@@ -63,11 +86,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/reactInteractivity-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-firefox-retry2/reactInteractivity-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/customblocks/customblocks.test.ts:32:5
|
|
[firefox] › 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/utils/editor.ts#L47
3) [firefox] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -9,10 +9,33 @@
"attrs": {
"id": "0"
},
"content": [
{
+ "type": "advanced",
+ "attrs": {
+ "nested": {
+ "type": "warning",
+ "message": "Warning"
+ }
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Advanced"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
"type": "alert",
"attrs": {
"textAlignment": "left",
"textColor": "default",
"type": "info"
@@ -27,11 +50,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "simpleImage",
"attrs": {
@@ -41,11 +64,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
"type": "bracketsParagraph",
"attrs": {
@@ -63,11 +86,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/reactInteractivity-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-firefox-retry1/reactInteractivity-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/customblocks/customblocks.test.ts:32:5
|
|
[firefox] › 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/utils/editor.ts#L47
3) [firefox] › 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(string).toMatchSnapshot(expected)
@@ -9,10 +9,33 @@
"attrs": {
"id": "0"
},
"content": [
{
+ "type": "advanced",
+ "attrs": {
+ "nested": {
+ "type": "warning",
+ "message": "Warning"
+ }
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Advanced"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "content": [
+ {
"type": "alert",
"attrs": {
"textAlignment": "left",
"textColor": "default",
"type": "info"
@@ -27,11 +50,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "simpleImage",
"attrs": {
@@ -41,11 +64,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "3"
},
"content": [
{
"type": "bracketsParagraph",
"attrs": {
@@ -63,11 +86,11 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "3"
+ "id": "4"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/reactInteractivity-firefox-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-firefox/reactInteractivity-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/customblocks/customblocks.test.ts:32:5
|
|
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ─
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
6980 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-slash-menu-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-firefox-retry2/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-firefox-retry2/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
6980 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-slash-menu-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-firefox-retry1/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-firefox-retry1/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu:
tests/src/end-to-end/ariakit/ariakit.test.ts#L48
2) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ─
Error: expect(Buffer).toMatchSnapshot(expected)
6980 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-slash-menu-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-firefox/ariakit-slash-menu-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-slash-menu-firefox/ariakit-slash-menu-diff.png
46 |
47 | await page.waitForTimeout(500);
> 48 | expect(await page.screenshot()).toMatchSnapshot("ariakit-slash-menu.png");
| ^
49 | });
50 | test("Check emoji picker", async ({ page }) => {
51 | await focusOnEditor(page);
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:48:37
|
|
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
666 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-formatting-toolbar-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-firefox-retry2/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-firefox-retry2/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
666 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-formatting-toolbar-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-firefox-retry1/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-firefox-retry1/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar:
tests/src/end-to-end/ariakit/ariakit.test.ts#L24
1) [firefox] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
Error: expect(Buffer).toMatchSnapshot(expected)
666 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-formatting-toolbar-firefox-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-firefox/ariakit-formatting-toolbar-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-formatting-toolbar-firefox/ariakit-formatting-toolbar-diff.png
22 |
23 | await page.waitForTimeout(500);
> 24 | expect(await page.screenshot()).toMatchSnapshot(
| ^
25 | "ariakit-formatting-toolbar.png",
26 | );
27 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:24:37
|
|
🎭 Playwright Run Summary
13 failed
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
[chromium] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ─
[chromium] › src/end-to-end/copypaste/copypaste.test.ts:142: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
[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:22:7 › Check Image Block and Toolbar functionality › Should be able to create image block
[chromium] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image
[chromium] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image
[chromium] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image
[chromium] › src/end-to-end/shadcn/shadcn.test.ts:18:7 › Check ShadCN UI › Check formatting toolbar
[chromium] › src/end-to-end/shadcn/shadcn.test.ts:43:7 › Check ShadCN UI › Check slash menu ────
[chromium] › src/end-to-end/theming/theming.test.ts:28:7 › Check Dark Theme is Automatically Applied › Should show dark formatting toolbar
[chromium] › src/end-to-end/theming/theming.test.ts:54:7 › Check Dark Theme is Automatically Applied › Should show dark slash menu
1 skipped
81 passed (3.8m)
|
|
🎭 Playwright Run Summary
12 failed
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
[webkit] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ───
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom 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:22:7 › Check Image Block and Toolbar functionality › Should be able to create image block
[webkit] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image
[webkit] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image
[webkit] › src/end-to-end/images/images.test.ts:119:7 › Check Image Block and Toolbar functionality › Should be able to drag image
[webkit] › src/end-to-end/shadcn/shadcn.test.ts:18:7 › Check ShadCN UI › Check formatting toolbar
[webkit] › src/end-to-end/shadcn/shadcn.test.ts:43:7 › Check ShadCN UI › Check slash menu ──────
[webkit] › src/end-to-end/theming/theming.test.ts:28:7 › Check Dark Theme is Automatically Applied › Should show dark formatting toolbar
[webkit] › src/end-to-end/theming/theming.test.ts:54:7 › Check Dark Theme is Automatically Applied › Should show dark slash menu
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
73 passed (5.3m)
|
|
🎭 Playwright Run Summary
13 failed
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:18:7 › Check Ariakit UI › Check formatting toolbar
[firefox] › src/end-to-end/ariakit/ariakit.test.ts:43:7 › Check Ariakit UI › Check slash menu ──
[firefox] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
[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:22:7 › Check Image Block and Toolbar functionality › Should be able to create image block
[firefox] › src/end-to-end/images/images.test.ts:46:7 › Check Image Block and Toolbar functionality › Should be able to embed image
[firefox] › src/end-to-end/images/images.test.ts:63:7 › Check Image Block and Toolbar functionality › Should be able to resize image
[firefox] › src/end-to-end/images/images.test.ts:104:7 › Check Image Block and Toolbar functionality › Should be able to delete image with backspace
[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/shadcn/shadcn.test.ts:18:7 › Check ShadCN UI › Check formatting toolbar
[firefox] › src/end-to-end/shadcn/shadcn.test.ts:43:7 › Check ShadCN UI › Check slash menu ─────
[firefox] › src/end-to-end/theming/theming.test.ts:28:7 › Check Dark Theme is Automatically Applied › Should show dark formatting toolbar
[firefox] › src/end-to-end/theming/theming.test.ts:54:7 › Check Dark Theme is Automatically Applied › Should show dark slash menu
2 flaky
[firefox] › src/end-to-end/draghandle/draghandle.test.ts:143:7 › Check Draghandle functionality › Delete button should delete correct block
[firefox] › src/end-to-end/slashmenu/slashmenu.test.ts:42:7 › Check SlashMenu Functionality › Should be able to create h3
11 skipped
69 passed (9.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-chromium
Expired
|
6.92 MB |
sha256:b549747a99ba95449fb6cbee633e413c77780ebb8eb5a5df832850610ea58704
|
|
|
playwright-report-firefox
Expired
|
5.81 MB |
sha256:fd3324a00a804df630207a391aa210bcb9f568c34069f007b2e2e09c63f29434
|
|
|
playwright-report-webkit
Expired
|
8.11 MB |
sha256:4e9d3e4c820521f9400cc57f8bc769e69386f618b775fe82d7f8f0b50a04b785
|
|