Skip to content

docs: Examples tab #1168

docs: Examples tab

docs: Examples tab #1168

Triggered via pull request August 22, 2023 15:31
Status Failure
Total duration 8m 34s
Artifacts 1

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 6 warnings, and 1 notice
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:85:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves marks: tests/utils/editor.ts#L37
1) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:85:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves marks Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Snapshot comparison failed: { "type": "doc", "content": [ { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "0", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "ParagraphPa" }, { "type": "text", "marks": [ { "type": "italic" } ], "text": "ragra" }, { "type": "text", "text": "ph" } ] } ] }, { "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-Keyboard-Handlers-Behaviour-Check-Backspace-preserves-marks-webkit-retry2/backspacePreservesMarks-json-expected.json Received: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboard-Handlers-Behaviour-Check-Backspace-preserves-marks-webkit-retry2/backspacePreservesMarks-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:108:5
[chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks: tests/utils/editor.ts#L37
2) [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": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "marks": [ { "type": "italic" } ], "text": "eading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboard-Handlers-Behaviour-Check-Enter-preserves-marks-chromium/enterPreservesMarks-json-expected.json Received: /home/runner/work/BlockNote/BlockNote/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/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:55:5
[webkit] › dragdrop/dragdrop.test.ts:44:7 › Check Block Dragging Functionality › Should be able to drag & drop nested blocks: tests/utils/editor.ts#L37
3) [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": "0", "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": "2", "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
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
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:57:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks: tests/utils/editor.ts#L37
5) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:57:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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" } } ] }, {
Build
Process completed with exit code 1.
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] › keyboardhandlers/keyboardhandlers.test.ts#L1
[webkit] › keyboardhandlers/keyboardhandlers.test.ts took 26.7s
Slow Test: [webkit] › draghandle/draghandle.test.ts#L1
[webkit] › draghandle/draghandle.test.ts took 21.9s
Slow Test: [firefox] › draghandle/draghandle.test.ts#L1
[firefox] › draghandle/draghandle.test.ts took 18.7s
Slow Test: [webkit] › slashmenu/slashmenu.test.ts#L1
[webkit] › slashmenu/slashmenu.test.ts took 17.8s
Slow Test: [chromium] › draghandle/draghandle.test.ts#L1
[chromium] › draghandle/draghandle.test.ts took 17.7s
🎭 Playwright Run Summary
1 failed [webkit] › keyboardhandlers/keyboardhandlers.test.ts:85:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves marks 4 flaky [chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks [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 [webkit] › keyboardhandlers/keyboardhandlers.test.ts:57:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves nested blocks 17 skipped 143 passed (5.3m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
7.13 MB