Skip to content

feat: add support for tiptap / liveblocks comments (#1442) #4036

feat: add support for tiptap / liveblocks comments (#1442)

feat: add support for tiptap / liveblocks comments (#1442) #4036

Triggered via push February 17, 2025 18:52
Status Success
Total duration 13m 4s
Artifacts 2

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 5 warnings, and 1 notice
[webkit] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar: tests/src/end-to-end/ariakit/ariakit.test.ts#L41
1) [webkit] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ─────────────── Error: expect(Buffer).toMatchSnapshot(expected) 1007 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts-snapshots/ariakit-link-toolbar-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/ariakit-ariakit-Check-Ariakit-UI-Check-link-toolbar-webkit/ariakit-link-toolbar-diff.png 39 | 40 | await page.waitForTimeout(500); > 41 | expect(await page.screenshot()).toMatchSnapshot("ariakit-link-toolbar.png"); | ^ 42 | }); 43 | test("Check slash menu", async ({ page }) => { 44 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/ariakit/ariakit.test.ts:41:37
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:115:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks: tests/src/utils/editor.ts#L47
2) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:115:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks Error: expect(string).toMatchSnapshot(expected) { "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": "ParagraphParagraph" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "21", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "Paragraph" } ] }, { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "3", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "Paragraph" } ] } ] } ] } ] }, { "type": "blockContainer", "attrs": { "id": "4", "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/backspacePreservesNestedBlocks-json-webkit-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardh-494d0-ace-preserves-nested-blocks-webkit/backspacePreservesNestedBlocks-json-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/keyboardhandlers/keyboardhandlers.test.ts:132:5
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 27.2s
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 26.9s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 23.0s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 21.5s
Slow Test: tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 20.7s
🎭 Playwright Run Summary
2 flaky [webkit] › ariakit/ariakit.test.ts:28:7 › Check Ariakit UI › Check link toolbar ──────────────── [webkit] › keyboardhandlers/keyboardhandlers.test.ts:115:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves nested blocks 18 skipped 247 passed (7.7m)

Artifacts

Produced during runtime
Name Size
playwright-report
2.87 MB
relative-ci-artifacts-editor
47 KB