Skip to content

fix: export updateBlockCommand, to allow extending heading block #3500

fix: export updateBlockCommand, to allow extending heading block

fix: export updateBlockCommand, to allow extending heading block #3500

Triggered via pull request November 11, 2024 16:08
Status Success
Total duration 12m 19s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 5 warnings, and 1 notice
[firefox] › draghandle/draghandle.test.ts:118:7 › Check Draghandle functionality › Click add button for non-selected empty block: tests/src/utils/editor.ts#L47
1) [firefox] › draghandle/draghandle.test.ts:118:7 › Check Draghandle functionality › Click add button for non-selected empty block 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 1" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "headingparagraph", "attrs": { "textAlignment": "left", "level": 1 } } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" } } ] } ] } ] } Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts-snapshots/addnonselectedemptyblock-firefox-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/draghandle-draghandle-Chec-4310f-or-non-selected-empty-block-firefox/addnonselectedemptyblock-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 (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:47:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:125:5
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 26.7s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 24.2s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 20.7s
Slow Test: tests/[firefox] › slashmenu/slashmenu.test.ts#L1
tests/[firefox] › slashmenu/slashmenu.test.ts took 19.1s
Slow Test: tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 17.5s
🎭 Playwright Run Summary
1 flaky [firefox] › draghandle/draghandle.test.ts:118:7 › Check Draghandle functionality › Click add button for non-selected empty block 18 skipped 230 passed (7.3m)

Artifacts

Produced during runtime
Name Size
playwright-report
727 KB
relative-ci-artifacts-editor
46.1 KB