Skip to content

release: v0.12 - new website and major refactor #2097

release: v0.12 - new website and major refactor

release: v0.12 - new website and major refactor #2097

Triggered via pull request March 5, 2024 13:45
Status Success
Total duration 9m 37s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 8 warnings, and 1 notice
[chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks: tests/src/utils/editor.ts#L37
1) [chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks 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", "marks": [ { "type": "italic" } ], "text": "H" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraphheading", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "eading" } ], "level": 1 } } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesMarks-json-chromium-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboard-Handlers-Behaviour-Check-Enter-preserves-marks-chromium/enterPreservesMarks-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/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:55:5
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks: tests/src/utils/editor.ts#L37
2) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks 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", "marks": [ { "type": "italic" } ], "text": "H" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraphheading", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "eading" } ], "level": 1 } } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts-snapshots/enterPreservesMarks-json-webkit-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboard-Handlers-Behaviour-Check-Enter-preserves-marks-webkit/enterPreservesMarks-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/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:55:5
Build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: 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: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 24.4s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 22.6s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 21.1s
Slow Test: tests/[webkit] › keyboardhandlers/keyboardhandlers.test.ts#L1
tests/[webkit] › keyboardhandlers/keyboardhandlers.test.ts took 20.8s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 18.9s
🎭 Playwright Run Summary
2 flaky [chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks [webkit] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks 18 skipped 166 passed (5.7m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
3.13 MB
relative-ci-artifacts-editor Expired
92.5 KB