fix: RangeError when un-nesting certain blocks #2555
Annotations
10 errors, 5 warnings, and 1 notice
[chromium] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
1) [chromium] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignm
|
[chromium] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
1) [chromium] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
|
[chromium] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
1) [chromium] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
|
[firefox] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
2) [firefox] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignme
|
[firefox] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
2) [firefox] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
|
[firefox] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
2) [firefox] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
|
[webkit] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
3) [webkit] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "paragraph",
"attrs": {
"textAlignmen
|
[webkit] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
3) [webkit] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
|
[webkit] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks:
tests/src/utils/editor.ts#L37
3) [webkit] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
{
"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": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "1",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 1
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "2",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Heading"
}
]
},
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
"id": "3",
"textColor": "default",
"backgroundColor": "default"
},
},
"content": [
{
"type": "heading",
"attrs": {
"textAlignment": "left",
"level": 3
},
},
"content": [
{
{
"type": "text",
"text": "Heading"
}
]
}
]
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
"id": "4",
"textColor": "default",
"backgroundColor": "default"
},
"content": [
{
|
[firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block:
tests/src/end-to-end/draghandle/draghandle.test.ts#L1
4) [firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block
Test timeout of 30000ms exceeded.
|
Slow Test:
tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 26.4s
|
Slow Test:
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.9s
|
Slow Test:
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 19.4s
|
Slow Test:
tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 17.9s
|
Slow Test:
tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 17.0s
|
🎭 Playwright Run Summary
3 failed
[chromium] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
[firefox] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
[webkit] › indentation/indentation.test.ts:117:7 › Check Block Indentation Functionality › Should be able to decrease indentation for multiple blocks
4 flaky
[firefox] › draghandle/draghandle.test.ts:141:7 › Check Draghandle functionality › Delete button should delete correct block
[firefox] › slashmenu/slashmenu.test.ts:117:7 › Check SlashMenu Functionality › Should be able to create complex documents that match snapshots
[webkit] › indentation/indentation.test.ts:75:7 › Check Block Indentation Functionality › Should be able to increase indentation for multiple blocks
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar
18 skipped
197 passed (7.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
2.82 MB |
|