Skip to content

docs: nextjs guidance #1030

docs: nextjs guidance

docs: nextjs guidance #1030

Triggered via pull request July 12, 2023 20:28
Status Success
Total duration 7m 32s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 6 warnings, and 1 notice
[chromium] › colors/colors.test.ts:94:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/end-to-end/colors/colors.test.ts#L1
1) [chromium] › colors/colors.test.ts:94:7 › Check Background & Text Color Functionality › Should be able to set block background color Test timeout of 30000ms exceeded.
[chromium] › colors/colors.test.ts:94:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/end-to-end/colors/colors.test.ts#L103
1) [chromium] › colors/colors.test.ts:94:7 › Check Background & Text Color Functionality › Should be able to set block background color Error: page.hover: Target closed =========================== logs =========================== waiting for locator('[data-content-type=heading][data-level="2"]') ============================================================ 101 | await insertHeading(page, 3); 102 | > 103 | await page.hover(H_TWO_BLOCK_SELECTOR); | ^ 104 | await page.click(DRAG_HANDLE_SELECTOR); 105 | await page.waitForSelector(DRAG_HANDLE_MENU_SELECTOR); 106 | await page.hover("text=Colors"); at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/colors/colors.test.ts:103:16
[chromium] › colors/colors.test.ts:94:7 › Check Background & Text Color Functionality › Should be able to set block background color: tests/end-to-end/colors/colors.test.ts#L1
1) [chromium] › colors/colors.test.ts:94:7 › Check Background & Text Color Functionality › Should be able to set block background color Pending operations: - page.hover at tests/end-to-end/colors/colors.test.ts:103:16
[webkit] › dragdrop/dragdrop.test.ts:44:7 › Check Block Dragging Functionality › Should be able to drag & drop nested blocks: tests/utils/editor.ts#L37
2) [webkit] › dragdrop/dragdrop.test.ts:44:7 › Check Block Dragging Functionality › Should be able to drag & drop nested blocks Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "Paragraph" } ] }, { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "6", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "1" }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "Paragraph" } ] }, { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "7", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": "2" }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, ] } { ] }"type": "blockContainer", ] } ] "attrs": { }, {
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty: tests/utils/editor.ts#L37
3) [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: [chromium] › colors/colors.test.ts#L1
[chromium] › colors/colors.test.ts took 39.6s
Slow Test: [webkit] › keyboardhandlers/keyboardhandlers.test.ts#L1
[webkit] › keyboardhandlers/keyboardhandlers.test.ts took 23.3s
Slow Test: [webkit] › draghandle/draghandle.test.ts#L1
[webkit] › draghandle/draghandle.test.ts took 19.5s
Slow Test: [firefox] › draghandle/draghandle.test.ts#L1
[firefox] › draghandle/draghandle.test.ts took 18.3s
Slow Test: [chromium] › draghandle/draghandle.test.ts#L1
[chromium] › draghandle/draghandle.test.ts took 16.5s
🎭 Playwright Run Summary
3 flaky [chromium] › colors/colors.test.ts:94:7 › Check Background & Text Color Functionality › Should be able to set block background color [webkit] › dragdrop/dragdrop.test.ts:44:7 › Check Block Dragging Functionality › Should be able to drag & drop nested blocks [webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty 16 skipped 128 passed (4.8m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
6.06 MB