feat: replace unified.js with custom markdown parser/serializer #7293
build.yml
on: pull_request
Playwright Build
3m 6s
Build
3m 50s
Matrix: playwright
Merge Playwright Reports
45s
Annotations
5 errors, 9 warnings, and 6 notices
|
Build
Process completed with exit code 1.
|
|
src/unit/core/formatConversion/export/runTests.test.ts > Export tests (Markdown) > table/hardBreakInCell:
tests/src/unit/shared/formatConversion/export/exportTestExecutors.ts#L64
Error: Snapshot `Export tests (Markdown) > table/hardBreakInCell 1` mismatched
- Expected
+ Received
- | | |
+ | | |
- | -------------- | ----------- |
+ | ----------------- | ----------- |
- | Line 1\
- Line 2 | Normal cell |
+ | Line 1\<br>Line 2 | Normal cell |
❯ testExportMarkdown src/unit/shared/formatConversion/export/exportTestExecutors.ts:64:3
❯ src/unit/core/formatConversion/export/runTests.test.ts:40:7
|
|
src/unit/core/formatConversion/export/runTests.test.ts > Export tests (Markdown) > table/advancedExample:
tests/src/unit/shared/formatConversion/export/exportTestExecutors.ts#L64
Error: Snapshot `Export tests (Markdown) > table/advancedExample 1` mismatched
- Expected
+ Received
- | This row has headers | This is **RED** | Text is Blue |
+ | This row has headers | This is **RED** | Text is Blue |
- | -------------------------------- | --------------- | ------------------ |
+ | ----------------------------------- | --------------- | ------------------ |
- | This spans 2 columns\
- and 2 rows | | Sooo many features |
+ | This spans 2 columns\<br>and 2 rows | | Sooo many features |
- | | | |
+ | | | |
- | A cell | Another Cell | Aligned center |
+ | A cell | Another Cell | Aligned center |
❯ testExportMarkdown src/unit/shared/formatConversion/export/exportTestExecutors.ts:64:3
❯ src/unit/core/formatConversion/export/runTests.test.ts:40:7
|
|
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:184:7 › Check Keyboard Handlers' Behaviour › Check Delete while selection not empty:
tests/src/utils/editor.ts#L47
2) [webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:184:7 › Check Keyboard Handlers' Behaviour › Check Delete while selection not empty
Error: expect(string).toMatchSnapshot(expected)
@@ -18,20 +18,20 @@
"textAlignment": "left"
},
"content": [
{
"type": "text",
- "text": "Paragra"
+ "text": "Paragraph"
}
]
}
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "1"
+ "id": "2"
},
"content": [
{
"type": "paragraph",
"attrs": {
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/deleteSelection-json-webkit-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-c6e70-e-while-selection-not-empty-webkit/deleteSelection-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:193:5
|
|
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks:
tests/src/end-to-end/customblocks/customblocks.test.ts#L19
1) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks
Error: expect(Buffer).toMatchSnapshot(expected)
33106 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/vanilla-interactivity-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit/vanilla-interactivity-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--8679c-pdate-vanilla-custom-blocks-webkit/vanilla-interactivity-diff.png
17 |
18 | await compareDocToSnapshot(page, "vanillaInteractivity");
> 19 | expect(await page.screenshot()).toMatchSnapshot(
| ^
20 | "vanilla-interactivity.png",
21 | );
22 | });
at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:19:37
|
|
Playwright Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - chromium (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - firefox (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - chromium (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - webkit (2/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - firefox (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright Tests - webkit (1/2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Merge Playwright Reports
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
40 passed (34.7s)
|
|
🎭 Playwright Run Summary
40 passed (44.3s)
|
|
🎭 Playwright Run Summary
2 skipped
82 passed (1.1m)
|
|
🎭 Playwright Run Summary
40 passed (59.0s)
|
|
🎭 Playwright Run Summary
12 skipped
72 passed (1.4m)
|
|
🎭 Playwright Run Summary
2 flaky
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:10:7 › Check custom block functionality › Should be able to interactively update vanilla custom blocks
[webkit] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:184:7 › Check Keyboard Handlers' Behaviour › Check Delete while selection not empty
10 skipped
72 passed (2.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
114 KB |
sha256:3a4309512e4dd77e496e2fd1ba41cd6a50a1a7068cf59493395dd00c8b7e47c2
|
|
|
blob-report-chromium-2
Expired
|
48.7 KB |
sha256:2405c5d13c6386f78fb38611d4e242a9ea419ec01657e3fa5b9c78df2f338a94
|
|
|
blob-report-firefox-1
Expired
|
103 KB |
sha256:4e7603b62e7dcda878df99154c8befb51acca1a9c48a5a796e34341e1cc6614c
|
|
|
blob-report-firefox-2
Expired
|
49.5 KB |
sha256:39b584b4812e7ceeb18182df412beffb26a43a8995d6cfc1ae4eaa3238d060c5
|
|
|
blob-report-webkit-1
Expired
|
5.38 MB |
sha256:85097ee9fa1f27a545a67210a168cac0fd01912ebb405c276083fcc1043afa12
|
|
|
blob-report-webkit-2
Expired
|
49.4 KB |
sha256:4950a53bfe7882f81fb62e085d72f955916a5101c244e44477d9d4b4619251b0
|
|
|
playwright-build
Expired
|
21.3 MB |
sha256:a4ac3bfc04036b3b290f16f731c2fe0b2fcd81aaacb1f80be271aeed5d48cb45
|
|
|
playwright-report-chromium-1
|
247 KB |
sha256:11fe88a0657f0c0bda1dc6843925fa6f9cf3741a5caadb87304ca11bd4e895fa
|
|
|
playwright-report-chromium-2
|
207 KB |
sha256:ea3af459ffcb2fd43c78f3092396d732b7908d6b184ae455449b6589f7b902fc
|
|
|
playwright-report-firefox-1
|
240 KB |
sha256:c32bd37ea23fafb31dbaf90275eb544520b34dd9bdd494f97991071d3c10ba6e
|
|
|
playwright-report-firefox-2
|
207 KB |
sha256:d71f4ff4d00280ba934a6744887eeaa4892e2cbabc54f41fafb7071be4b2f1ea
|
|
|
playwright-report-merged
|
5.9 MB |
sha256:29d6ca63bb70a2ee4fa3ddb1544a743f60088aaf5ac09f8ada1b17e62fc4b3b7
|
|
|
playwright-report-webkit-1
|
5.83 MB |
sha256:08c6ad2d1e7dce06cc15cca058a5ed45fb64f16491eec8cb0f2739f937a6407b
|
|
|
playwright-report-webkit-2
|
208 KB |
sha256:36469ee9d3312415baaa214cad253da0bc7c71f961b1b97cd3234e3c506d85a8
|
|