fix(core): preserve list item type when pasting into empty list items #7787
build.yml
on: pull_request
Playwright Build
2m 1s
Build
3m 22s
Matrix: playwright
Merge Playwright Reports
55s
Annotations
3 errors and 6 notices
|
Build
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -41,19 +41,41 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragrah"
}
]
}
]
}
]
}
]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "2"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Paragraph"
+ }
+ ]
+ }
+ ]
}
]
}
]
}
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit-retry1/deleteShallowerBlock-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:319:5
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
Error: expect(string).toMatchSnapshot(expected)
@@ -41,19 +41,41 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragrap"
}
]
}
]
}
]
}
]
+ },
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "2"
+ },
+ "content": [
+ {
+ "type": "paragraph",
+ "attrs": {
+ "backgroundColor": "default",
+ "textColor": "default",
+ "textAlignment": "left"
+ },
+ "content": [
+ {
+ "type": "text",
+ "text": "Paragraph"
+ }
+ ]
+ }
+ ]
}
]
}
]
}
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteShallowerBlock-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-9a661-lete-before-shallower-block-webkit/deleteShallowerBlock-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:319:5
|
|
🎭 Playwright Run Summary
43 passed (36.4s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (42.4s)
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
|
🎭 Playwright Run Summary
2 skipped
92 passed (1.3m)
|
|
🎭 Playwright Run Summary
16 skipped
78 passed (1.5m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
12 skipped
81 passed (3.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
127 KB |
sha256:60b2ec4a4c18f36e3672b34457daaa5cd575352d0abec6af8e200aa20e6e271f
|
|
|
blob-report-chromium-2
Expired
|
52.6 KB |
sha256:2faab205fb778166fa6151d45a679fa89a7deba2622845ee51b7f219291d80fd
|
|
|
blob-report-firefox-1
Expired
|
113 KB |
sha256:dd998227c73cdbb96e540627e114db80d9e5d996648eab92e80f7cd741fcb488
|
|
|
blob-report-firefox-2
Expired
|
52 KB |
sha256:f8c198a6c5bf1de97ee77823f3b2d08259c49c6a93aef7f42b95e473adcfe225
|
|
|
blob-report-webkit-1
Expired
|
3.74 MB |
sha256:d3a9b88140e59105c7876a1e6106b6c3b4c48fe43e8d6f72ad0be06f4af5e09a
|
|
|
blob-report-webkit-2
Expired
|
53.1 KB |
sha256:ac65a2ca01079c966107daf9e6cdd23c969c1ee27f26fdb45ae6f2b244ab0f7c
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:c7a1e46ef846ce7db50b63e0b27755dcbb32b0709a5348be91285426a8825c78
|
|
|
playwright-report-chromium-1
Expired
|
260 KB |
sha256:ad9b0f3ce0081e562c138b3171378bf70667c499a6a150df30699029bc0606e5
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:0c982ab200839ace4860adb1f3bec6d9650b22e32da50f05c94b7fe9657a9988
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:2a86009fedc7507ebf5c28a4f5ca12e471eaf07b0881a8c4b7db417c154e05e4
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:d02219609213ef3f283a3452e77b588d290c728d281cce1cb09aad0ef3c0612f
|
|
|
playwright-report-merged
Expired
|
4.28 MB |
sha256:8dcaf866804e2940832a7da48687b644e7b5d702f5a3f6b81b58654ba4eb8453
|
|
|
playwright-report-webkit-1
Expired
|
4.22 MB |
sha256:fdaf5a0b09bbe0717905b18d23ee657d87c931b696e8df9e9d938fb6f19b1983
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:aaef23f1d87254b659dad9813f4540b6dca8adae9e415c15b4aaa39b2232bebb
|
|