test: add Next.js integration test for server-util (#942) #7058
build.yml
on: pull_request
Playwright Build
1m 8s
Build
3m 16s
Matrix: playwright
Merge Playwright Reports
52s
Annotations
6 errors, 9 warnings, and 6 notices
|
Build
Process completed with exit code 1.
|
|
src/unit/nextjs/serverUtil.test.ts > server-util in Next.js App Router (#942) [build]:
tests/src/unit/nextjs/serverUtil.test.ts#L90
Error: Next.js exited with code 1: ⨯ Failed to start server
Error: listen EADDRINUSE: address already in use :::3951
at <unknown> (Error: listen EADDRINUSE: address already in use :::3951)
at new Promise (<anonymous>) {
code: 'EADDRINUSE',
errno: -98,
syscall: 'listen',
address: '::',
port: 3951
}
❯ ChildProcess.<anonymous> src/unit/nextjs/serverUtil.test.ts:90:18
|
|
[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
|
|
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks:
tests/src/end-to-end/customblocks/customblocks.test.ts#L33
2) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
34732 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/react-interactivity-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-webkit-retry1/react-interactivity-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-webkit-retry1/react-interactivity-diff.png
31 |
32 | await compareDocToSnapshot(page, "reactInteractivity");
> 33 | expect(await page.screenshot()).toMatchSnapshot("react-interactivity.png");
| ^
34 | });
35 | });
36 |
at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:33:37
|
|
[webkit] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks:
tests/src/end-to-end/customblocks/customblocks.test.ts#L33
2) [webkit] › src/end-to-end/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
Error: expect(Buffer).toMatchSnapshot(expected)
34732 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts-snapshots/react-interactivity-webkit-linux.png
Received: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-webkit/react-interactivity-actual.png
Diff: /__w/BlockNote/BlockNote/tests/test-results/customblocks-customblocks--ee421--update-React-custom-blocks-webkit/react-interactivity-diff.png
31 |
32 | await compareDocToSnapshot(page, "reactInteractivity");
> 33 | expect(await page.screenshot()).toMatchSnapshot("react-interactivity.png");
| ^
34 | });
35 | });
36 |
at /__w/BlockNote/BlockNote/tests/src/end-to-end/customblocks/customblocks.test.ts:33:37
|
|
[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. 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. 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/
|
|
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 - 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 - 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/
|
|
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/
|
|
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 (34.8s)
|
|
🎭 Playwright Run Summary
38 passed (45.1s)
|
|
🎭 Playwright Run Summary
38 passed (58.1s)
|
|
🎭 Playwright Run Summary
12 skipped
72 passed (1.5m)
|
|
🎭 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
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/customblocks/customblocks.test.ts:24:7 › Check custom block functionality › Should be able to interactively update React custom blocks
10 skipped
72 passed (2.0m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
blob-report-chromium-1
Expired
|
5.3 MB |
sha256:41fa4e13bf408bd00d8fa2a4bddce1a87409ae05116bb181e47b84f594ac8c9e
|
|
|
blob-report-chromium-2
Expired
|
46.4 KB |
sha256:2877497c349b29363f4c7a74e40e6b92bf957adf066a763f85b4b1246279077e
|
|
|
blob-report-firefox-1
Expired
|
103 KB |
sha256:75e009d8298a0b9181599b3cbd4a543ce6656217d9410930a0079a818162124d
|
|
|
blob-report-firefox-2
Expired
|
47.1 KB |
sha256:3050eb04afcf6c696e30d368c3ef266efb7e4c032ed1567ae4cfd3e3055d36c1
|
|
|
blob-report-webkit-1
Expired
|
1.15 MB |
sha256:f65d47e857f669096f316d7b5991c74973b7f5e5871f384507ac9f4a6fc287d4
|
|
|
blob-report-webkit-2
Expired
|
47 KB |
sha256:0f79bd61ae92ae6dbc664e8ac214ead3611c9a48ab610233d22472fbc0ee6cbb
|
|
|
playwright-build
Expired
|
26.1 MB |
sha256:9012a8eb52b0f77f45bedfc5808d3f979c513dc9871eecfe56d3eaf08a9bc773
|
|
|
playwright-report-chromium-1
|
5.8 MB |
sha256:8d42d2a04b7bca6d6ba12b58f31204aae958f30cfec4ca6401772c3749c3618c
|
|
|
playwright-report-chromium-2
|
205 KB |
sha256:ccd783994c816af3d17817af0ebe1c0e62cda1c41eb87f73e3672ae583c0d4ef
|
|
|
playwright-report-firefox-1
|
240 KB |
sha256:a4f92118673b14a1bb2a7d9851e8b8bbd4026d17455a9b37edfd34a34d1e59cf
|
|
|
playwright-report-firefox-2
|
205 KB |
sha256:c068b69618d38e20c5b87c90699c91921c6dd38eaa9b7a3854f6d157917578dc
|
|
|
playwright-report-merged
|
6.63 MB |
sha256:948e37cef014e65d26e0a318e36154169fc44165bbebdd4cd44194aa0d6ee633
|
|
|
playwright-report-webkit-1
|
1.38 MB |
sha256:a211badabd97a6d4356feb4215f078add88d7acdc3d822675761204b80092e9e
|
|
|
playwright-report-webkit-2
|
205 KB |
sha256:e94ec71a337312a0a8ec6241273b84ad78dfe80169b6fea0563a736515e582a0
|
|