feat: decouple yjs from blocknote/core #7821
build.yml
on: pull_request
Playwright Build
1m 57s
Build
3m 24s
Matrix: playwright
Merge Playwright Reports
46s
Annotations
6 errors and 6 notices
|
Build
Process completed with exit code 1.
|
|
src/editor/performance.test.ts > Performance: transaction processing scales sub-linearly (#2595) > numbered list items: typing at end:
packages/core/src/editor/performance.test.ts#L132
AssertionError: expected 309.49917399893724 to be less than 250
❯ src/editor/performance.test.ts:132:19
|
|
Playwright Tests - webkit (1/2)
Process completed with exit code 1.
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:236:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with inline content child:
tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:236:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with inline content child
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
@@ -18,13 +18,40 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "ParagraphParagraph"
+ "text": "Paragraph"
}
]
+ },
+ {
+ "type": "blockGroup",
+ "content": [
+ {
+ "type": "blockContainer",
+ "attrs": {
+ "id": "1"
+ },
+ "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/deleteInlineContentChild-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-db328-k-with-inline-content-child-webkit-retry2/deleteInlineContentChild-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:248: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
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 (35.7s)
|
|
🎭 Playwright Run Summary
43 passed (1.0m)
|
|
🎭 Playwright Run Summary
1 skipped
42 passed (46.7s)
|
|
🎭 Playwright Run Summary
2 skipped
92 passed (1.3m)
|
|
🎭 Playwright Run Summary
16 skipped
78 passed (1.5m)
|
|
🎭 Playwright Run Summary
1 failed
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:306:7 › Check Keyboard Handlers' Behaviour › Check Delete before shallower block
1 flaky
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:236:7 › Check Keyboard Handlers' Behaviour › Check Delete end of block with inline content child
12 skipped
12 did not run
68 passed (2.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
127 KB |
sha256:7cc8b3d8707fda13b1b654f0473d317ce65336271196b45275d18a823cade0fd
|
|
|
blob-report-chromium-2
Expired
|
52.3 KB |
sha256:8b99f2ee7b2a08926e3d369708663507ea7c4fd88383670d0798f3ab04c94d08
|
|
|
blob-report-firefox-1
Expired
|
112 KB |
sha256:6081c88509e9f61c5d9fbfe69ed9a4ea875365b48dd21f52f8734315d8d1628a
|
|
|
blob-report-firefox-2
Expired
|
52.5 KB |
sha256:02766c16f445fecdb9494bcb2a04a0caadf735507ab055fa626b78ab4ab85ed4
|
|
|
blob-report-webkit-1
Expired
|
3.91 MB |
sha256:22431fab7dd0af5c1f0742c7921b9b4de92a020d1ab2d63bc6699b58c9ed3441
|
|
|
blob-report-webkit-2
Expired
|
53 KB |
sha256:1138275be97db0efb2dc143a072e5747ebb8e1b91bd8072d596cbf904f2e5713
|
|
|
playwright-build
Expired
|
21.2 MB |
sha256:631e64520a80293b04b91fc353956b90d67a92f935a1d8a8998704fd48b373fb
|
|
|
playwright-report-chromium-1
Expired
|
260 KB |
sha256:6056b17e39edab203aa1ab8e97c265e1c7c344f914f313f8cf075f3a6a9ae039
|
|
|
playwright-report-chromium-2
Expired
|
210 KB |
sha256:1a13aa13b887654ef6a4f74b13ef4cc8931a24ded24cd2072311369faceb42ae
|
|
|
playwright-report-firefox-1
Expired
|
250 KB |
sha256:fff4ad75de312428e3aece038209b5f925c2c6c613eb455102ce014b2f22435f
|
|
|
playwright-report-firefox-2
Expired
|
209 KB |
sha256:54e5c422a97c299b225fc3a26675ba201a8d9269f5f913df6ff9b9d35cd154d4
|
|
|
playwright-report-merged
Expired
|
4.45 MB |
sha256:5f679a43e522ae9694dfcaeec8290fc995f426ed529afd693026d3a9c3a7522b
|
|
|
playwright-report-webkit-1
Expired
|
4.38 MB |
sha256:25bb170a52e1236e205d740fbf7db9b2208b7ce6a4b6d214eafa9e09149496b7
|
|
|
playwright-report-webkit-2
Expired
|
210 KB |
sha256:2ddb0fd62ae1b2e6ede3c865cb5b2781015f6b9d6e1b9d622c765e87005022d8
|
|