Skip to content

docs: nextjs guidance (#274) #1033

docs: nextjs guidance (#274)

docs: nextjs guidance (#274) #1033

Triggered via push July 14, 2023 10:30
Status Success
Total duration 7m 44s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 5 warnings, and 1 notice
[chromium] › copypaste/copypaste.test.ts:35:7 › Check Copy/Paste Functionality › Headings should keep formatting: tests/utils/editor.ts#L37
1) [chromium] › copypaste/copypaste.test.ts:35:7 › Check Copy/Paste Functionality › Headings should keep formatting Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "1" }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "2" }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "3" }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] }, { "type": "blockContainer", "attrs": { "id": "5", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "1" }, "content": [ { "type": "text", "marks": [ { "type": "bold" } ], "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "6", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "2"
[chromium] › keyboardhandlers/keyboardhandlers.test.ts:57:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks: tests/utils/editor.ts#L37
2) [chromium] › keyboardhandlers/keyboardhandlers.test.ts:57:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "1" }, "content": [ { "type": "text", "text": "H" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "4", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "eading" } ] }, { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "2" }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "3" }, "content": [ { "type": "text", "text": "Heading" } ] } ] } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] }, { "type": "blockContainer", "attrs": { "id": "4",
[webkit] › draghandle/draghandle.test.ts:49:7 › Check Draghandle functionality › Draghandle should display next to correct block: tests/end-to-end/draghandle/draghandle.test.ts#L58
3) [webkit] › draghandle/draghandle.test.ts:49:7 › Check Draghandle functionality › Draghandle should display next to correct block Error: expect(received).toBeTruthy() Received: false 56 | const h3y = await getDragHandleYCoord(page, H_THREE_BLOCK_SELECTOR); 57 | > 58 | expect(h1y < h2y && h1y < h3y && h2y < h3y).toBeTruthy(); | ^ 59 | }); 60 | 61 | test("Draghandle should display next to correct nested block", async () => { at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/draghandle/draghandle.test.ts:58:49
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty: tests/utils/editor.ts#L37
4) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "1" }, "content": [ { "type": "text", "text": "H" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "eading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "2" }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboa-50885-haviour-Check-Enter-when-selection-is-not-empty-webkit/enterSelectionNotEmpty-json-expected.json Received: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboa-50885-haviour-Check-Enter-when-selection-is-not-empty-webkit/enterSelectionNotEmpty-json-actual.json at ../utils/editor.ts:37 35 | // Remove id from docs 36 | const doc = JSON.stringify(await getDoc(page), null, 2); > 37 | expect(doc).toMatchSnapshot(`${name}.json`); | ^ 38 | } 39 | at compareDocToSnapshot (/home/runner/work/BlockNote/BlockNote/tests/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:38:5
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Slow Test: [webkit] › draghandle/draghandle.test.ts#L1
[webkit] › draghandle/draghandle.test.ts took 24.9s
Slow Test: [webkit] › keyboardhandlers/keyboardhandlers.test.ts#L1
[webkit] › keyboardhandlers/keyboardhandlers.test.ts took 22.9s
Slow Test: [firefox] › draghandle/draghandle.test.ts#L1
[firefox] › draghandle/draghandle.test.ts took 18.8s
Slow Test: [chromium] › draghandle/draghandle.test.ts#L1
[chromium] › draghandle/draghandle.test.ts took 16.8s
🎭 Playwright Run Summary
4 flaky [chromium] › copypaste/copypaste.test.ts:35:7 › Check Copy/Paste Functionality › Headings should keep formatting [chromium] › keyboardhandlers/keyboardhandlers.test.ts:57:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks [webkit] › draghandle/draghandle.test.ts:49:7 › Check Draghandle functionality › Draghandle should display next to correct block [webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty 16 skipped 127 passed (4.4m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
10.6 MB