fix: Link toolbar update error #4294
Annotations
1 error, 10 warnings, and 3 notices
[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: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesNestedBlocks-json-webkit-linux.json
Received: /__w/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 (/__w/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15)
at /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:132:5
|
Slow Test:
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.8s
|
Slow Test:
tests/[chromium] › images/images.test.ts#L1
tests/[chromium] › images/images.test.ts took 16.3s
|
Slow Test:
tests/[chromium] › slashmenu/slashmenu.test.ts#L1
tests/[chromium] › slashmenu/slashmenu.test.ts took 15.7s
|
Slow Test:
tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 27.8s
|
Slow Test:
tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 19.5s
|
Slow Test:
tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 19.0s
|
Slow Test:
tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 27.2s
|
Slow Test:
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 21.6s
|
Slow Test:
tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 21.1s
|
Slow Test:
tests/[webkit] › theming/theming.test.ts#L1
tests/[webkit] › theming/theming.test.ts took 15.4s
|
🎭 Playwright Run Summary
89 passed (2.2m)
|
🎭 Playwright Run Summary
10 skipped
79 passed (2.6m)
|
🎭 Playwright Run Summary
1 flaky
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:115:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks
8 skipped
80 passed (3.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-chromium
|
252 KB |
|
playwright-report-firefox
|
246 KB |
|
playwright-report-webkit
|
2.52 MB |
|
relative-ci-artifacts-editor
|
48 KB |
|