fix(markdown): stable round-trip for tables, captions, and audio #7691
build.yml
on: pull_request
Playwright Build
1m 48s
Build
2m 53s
Matrix: playwright
Merge Playwright Reports
44s
Annotations
3 errors and 6 notices
|
Build
Process completed with exit code 1.
|
|
src/context/ServerBlockNoteEditor.test.ts > Test ServerBlockNoteEditor > converts to and from markdown (blocksToMarkdownLossy):
packages/server-util/src/context/ServerBlockNoteEditor.test.ts#L121
Error: Snapshot `Test ServerBlockNoteEditor > converts to and from markdown (blocksToMarkdownLossy) 1` mismatched
- Expected
+ Received
@@ -2,13 +2,11 @@
Paragraph
* list item
- 
-
- Caption
+ <figure><img alt="Example" src="exampleURL"><figcaption>Caption</figcaption></figure>
[Example](exampleURL)
Caption
"
❯ src/context/ServerBlockNoteEditor.test.ts:121:16
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:275:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with multiple children:
tests/src/utils/editor.ts#L47
1) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:275:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with multiple children
Error: expect(string).toMatchSnapshot(expected)
@@ -18,21 +18,21 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragraph"
}
]
},
{
"type": "blockGroup",
"content": [
{
"type": "blockContainer",
"attrs": {
- "id": "2"
+ "id": "1"
},
"content": [
{
"type": "paragraph",
"attrs": {
@@ -41,11 +41,11 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "Paragraph"
+ "text": "ParagraphParagraph"
}
]
}
]
}
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteMultipleChildren-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-14f97-lock-with-multiple-children-webkit/deleteMultipleChildren-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:288:5
|
|
🎭 Playwright Run Summary
43 passed (36.6s)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (47.2s)
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
|
🎭 Playwright Run Summary
2 skipped
91 passed (1.3m)
|
|
🎭 Playwright Run Summary
16 skipped
77 passed (1.5m)
|
|
🎭 Playwright Run Summary
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:275:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with multiple children
12 skipped
80 passed (2.6m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
129 KB |
sha256:5f744441434e567ad76bdca8a63c67ef9f75f97ee6b2b3d523acc7623687d13b
|
|
|
blob-report-chromium-2
Expired
|
52.9 KB |
sha256:20ff7d6d01c713357adf0c5ab59488ac42e2f8e2604389ad0c067a88f785144c
|
|
|
blob-report-firefox-1
Expired
|
114 KB |
sha256:19efacb69b22c7f99d889016c9bf9e8c120bf1c2f99f7713877e15cffcdeefec
|
|
|
blob-report-firefox-2
Expired
|
52.6 KB |
sha256:d3917075037d79e78f752814a03431cb00e4bf7baa7fabedbeca6e2af251be48
|
|
|
blob-report-webkit-1
Expired
|
5.39 MB |
sha256:57538bb881a18bbf4539fd7fe9aee09c347982acc0ff2e00146ce43251a07f29
|
|
|
blob-report-webkit-2
Expired
|
53.4 KB |
sha256:46b5d0339db2e9bff53dc5d5618f0b53995c3e3426e00297349d3d16a021f37f
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:5223f162ad69c344aeb51890da6a3bec9ea7cdda621fc20ab2153d21cb4e769b
|
|
|
playwright-report-chromium-1
Expired
|
261 KB |
sha256:90dde34f6be65ebee1f1bbf99e602cf90b2f47d7b095421c59ded2f36587c2eb
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:de65c820e07534733c247feb634b8b1d65d97b94fdf875a45a5532a1e7cf6c39
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:7bf61b83375ddf67bb36c6b3279b47d10ced76bcf1824099463948ce5bb584c5
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:bba7bd022648f491a81f94e66a68d245210d3d6ee1a490b172ffe6d4dd4d7f05
|
|
|
playwright-report-merged
Expired
|
5.95 MB |
sha256:25925ca85a9e054ebf32b5a82d777d745a22c7fc7e50e8a1c47ad48eaa22487a
|
|
|
playwright-report-webkit-1
Expired
|
5.89 MB |
sha256:1c366400e8578e566e65d0f57cbfa7477986a6b9fb87cee56a8f177b13dd47d9
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:890f8ef44890db607841fb02cffe28ed5989c8b6738d9d670754b0996aec62d7
|
|