test: add Next.js integration test for server-util (#942) #7059
build.yml
on: pull_request
Playwright Build
1m 2s
Build
3m 38s
Matrix: playwright
Merge Playwright Reports
47s
Annotations
1 error, 9 warnings, and 7 notices
|
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block:
tests/src/utils/editor.ts#L47
1) [chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
Error: expect(string).toMatchSnapshot(expected)
@@ -23,91 +23,22 @@
]
},
{
"type": "blockContainer",
"attrs": {
- "id": "4"
+ "id": "1"
},
"content": [
{
"type": "paragraph",
"attrs": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left"
}
- },
- {
- "type": "blockGroup",
- "content": [
- {
- "type": "blockContainer",
- "attrs": {
- "id": "1"
- },
- "content": [
- {
- "type": "heading",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left",
- "level": 2,
- "isToggleable": false
- },
- "content": [
- {
- "type": "text",
- "text": "Heading"
- }
- ]
- }
- ]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "2"
- },
- "content": [
- {
- "type": "heading",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left",
- "level": 3,
- "isToggleable": false
- },
- "content": [
- {
- "type": "text",
- "text": "Heading"
- }
- ]
- }
- ]
- }
- ]
}
]
- },
- {
- "type": "blockContainer",
- "attrs": {
- "id": "3"
- },
- "content": [
- {
- "type": "paragraph",
- "attrs": {
- "backgroundColor": "default",
- "textColor": "default",
- "textAlignment": "left"
- }
- }
- ]
}
]
}
]
}
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesNestedBlocksEmpty-json-chromium-linux.json
Received: /__w/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-5461c-sted-blocks-for-empty-block-chromium/enterPreservesNestedBlocksEmpty-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)
a
|
|
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. 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. 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. 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, actions/upload-artifact@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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. 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. 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. 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. 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. 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
38 passed (44.8s)
|
|
🎭 Playwright Run Summary
38 passed (33.4s)
|
|
Build
{
"workflowData": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "fe18d89d10b4c04a133f32605b7be6d6401f7eaf",
"ref": "2555"
},
"key": "uQbWBgXTm4",
"runId": 22973052309,
"webhookDebug": {
"action": "requested",
"head_branch": "fix/942-nextjs-server-util",
"head_repository_full_name": "TypeCellOS/BlockNote",
"full_name": "TypeCellOS/BlockNote",
"isPullRequest": true,
"prNumber": 2555,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "TypeCellOS/BlockNote:fix/942-nextjs-server-util",
"oldPrDataHash": "BOIcbhX1QK",
"lookupKey": "TypeCellOS/BlockNote:fix/942-nextjs-server-util",
"data": {
"owner": "TypeCellOS",
"repo": "BlockNote",
"sha": "93f44123ced3a8a0224d3b000ae93e9356f627d5",
"ref": "2555"
}
}
}
|
|
🎭 Playwright Run Summary
38 passed (59.2s)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:77:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks for empty block
2 skipped
81 passed (1.3m)
|
|
🎭 Playwright Run Summary
10 skipped
74 passed (1.8m)
|
|
🎭 Playwright Run Summary
12 skipped
72 passed (1.4m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
5.35 MB |
sha256:245f89b4eea0e443014008fa522b3dba3b856b8cc673419ffb3104c1ced89411
|
|
|
blob-report-chromium-2
Expired
|
46.2 KB |
sha256:5c57342dd796c845655947f5a60bb3802b362dad8b1dc0cb33b5569be3d91e03
|
|
|
blob-report-firefox-1
Expired
|
103 KB |
sha256:88fc41094f1d8352fca3123f9f33596331f4666f33eb6646fbcdde13e1816ab0
|
|
|
blob-report-firefox-2
Expired
|
47.2 KB |
sha256:7008e4fbb50dc58453215ae841f3a2d360bf7bed6efd08d8e3cdc947bc7c5668
|
|
|
blob-report-webkit-1
Expired
|
108 KB |
sha256:6d9d765a5f3ef8e780d970f492c6d8eff27520e92c22bebef29fc494da9319ab
|
|
|
blob-report-webkit-2
Expired
|
47.2 KB |
sha256:71791c865863939706a21bf781d86b22ed05ef2bc9ad53ad7df068d756a38646
|
|
|
playwright-build
Expired
|
26.1 MB |
sha256:384b130d16e55c8f47975c6073e0b21f362d882821dcb482e1829c4a32f48b13
|
|
|
playwright-report-chromium-1
|
5.85 MB |
sha256:b428c18570733d62ec682b33774ac33e03e5537d987dc21fe272e37f21d68415
|
|
|
playwright-report-chromium-2
|
205 KB |
sha256:5d045a5de7600ef73eb6b8856d2f492ea74787ceae5511db984fe9da86789c00
|
|
|
playwright-report-firefox-1
|
240 KB |
sha256:f579edaecd9631ae912d2ce5793a8d3636e3575e40f96d63d02aff774d50cb4d
|
|
|
playwright-report-firefox-2
|
205 KB |
sha256:16de60a9f04c80633875bc58ab87cd3877631c24ad203b42bb74ad569c5467ae
|
|
|
playwright-report-merged
|
5.91 MB |
sha256:27c2d8889fa58b8c92b8695885906c4099677d8c7531c251bf0d515772a873c4
|
|
|
playwright-report-webkit-1
|
244 KB |
sha256:3a142a0bd056d992047fb00d612d79d1e75a2d3a6eeec13061ac82a82c2ff203
|
|
|
playwright-report-webkit-2
|
205 KB |
sha256:05cba3a31b6c3e26856cc9819f887b002a11123650feccbac7ca98249bf70979
|
|
|
relative-ci-artifacts-editor
|
46.8 KB |
sha256:3c96d081ffd2d4c89a2e067326ec0771d143d509e8d80bec2dca6f64ab2687e5
|
|