feat: add support for tiptap / liveblocks comments #4034
Annotations
1 error, 5 warnings, and 1 notice
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:115:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks:
tests/src/utils/editor.ts#L47
1) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:115:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks
Error: expect(string).toMatchSnapshot(expected)
{
"type": "doc",
"content": [
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "0",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "ParagraphParagraph"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "21",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "Paragraph"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignment": "left"
}
}
]
}
]
}
]
}
Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocks-json-webkit-linux.json
Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-494d0-ace-preserves-nested-blocks-webkit/backspacePreservesNestedBlocks-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 (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:132:5
|
Slow Test:
tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 26.9s
|
Slow Test:
tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 26.8s
|
Slow Test:
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.7s
|
Slow Test:
tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 21.3s
|
Slow Test:
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 21.3s
|
🎭 Playwright Run Summary
1 flaky
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:115:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks
18 skipped
248 passed (7.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
2.69 MB |
|
relative-ci-artifacts-editor
|
46.5 KB |
|