Skip to content

v0.12.3

v0.12.3 #2219

Triggered via pull request March 28, 2024 17:09
Status Success
Total duration 10m 49s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 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] › colors/colors.test.ts:42:7 › Check Background & Text Color Functionality › Should be able to apply a background color mark: tests/src/end-to-end/colors/colors.test.ts#L62
2) [webkit] › colors/colors.test.ts:42:7 › Check Background & Text Color Functionality › Should be able to apply a background color mark Error: Screenshot comparison failed: 12026 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts-snapshots/backgroundColorMark-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Background-Text-Color-Func-56edd-Should-be-able-to-apply-a-background-color-mark-webkit/backgroundColorMark-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Background-Text-Color-Func-56edd-Should-be-able-to-apply-a-background-color-mark-webkit/backgroundColorMark-diff.png 60 | await page.waitForTimeout(500); 61 | > 62 | expect(await page.screenshot()).toMatchSnapshot("backgroundColorMark.png"); | ^ 63 | }); 64 | test("Should be able to set block text color", async ({ page }) => { 65 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:62:37
[webkit] › indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block: tests/src/utils/editor.ts#L37
3) [webkit] › indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block 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": "Paragraph" } ] }, { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "1", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 1 }, "content": [ { "type": "text", "text": "Heading" } ] } ] }, { "type": "blockContainer", "attrs": { "id": "2", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 2 }, "content": [ { "type": "text", "text": "Heading" } ] }, { "type": "blockGroup", "content": [ { "type": "blockContainer", "attrs": { "id": "23", "textColor": "default", "backgroundColor": "default" }, "content": [ { "type": "heading", "attrs": { "textAlignment": "left", "level": 23 }, "content": [ { "type": "text", "text": "Heading" } ] } ] } ] } ] }, { "type": "blockContainer", "
[webkit] › indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block: tests/src/end-to-end/indentation/indentation.test.ts#L1
4) [webkit] › indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block Test timeout of 30000ms exceeded.
[webkit] › indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block: tests/src/end-to-end/indentation/indentation.test.ts#L65
4) [webkit] › indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-test="unnestBlock"]') - locator resolved to <button disabled type="button" data-disabled="true" data…>…</button> - attempting click action - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - ret
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:85:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves marks: tests/src/utils/editor.ts#L37
5) [webkit] › keyboardhandlers/keyboardhandlers.test.ts:85:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves marks 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": "blockContainer", "attrs": { "id": "1", "textColor": "default", { "backgroundColor": "default" }, "type": "italic" "content": [ { } ], "text": "ragra" },"type": "paragraph", "attrs": { "textAlignment": "left" }, "content": [ { "type": "text", "text": "Paph" } ] } ] }, { "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/keyboardhandlers/keyboardhandlers.test.ts-snapshots/backspacePreservesMarks-json-webkit-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/keyboardhandlers-keyboardhandlers-Check-Keyboard-Handlers-Behaviour-Check-Backspace-preserves-marks-webkit/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/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:108: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] › indentation/indentation.test.ts#L1
tests/[webkit] › indentation/indentation.test.ts took 47.6s
Slow Test: tests/[webkit] › draghandle/draghandle.test.ts#L1
tests/[webkit] › draghandle/draghandle.test.ts took 24.5s
Slow Test: tests/[webkit] › keyboardhandlers/keyboardhandlers.test.ts#L1
tests/[webkit] › keyboardhandlers/keyboardhandlers.test.ts took 23.5s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 22.2s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 20.9s
🎭 Playwright Run Summary
5 flaky [chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks [webkit] › colors/colors.test.ts:42:7 › Check Background & Text Color Functionality › Should be able to apply a background color mark [webkit] › indentation/indentation.test.ts:17:7 › Check Block Indentation Functionality › Should be able to increase indentation for single block [webkit] › indentation/indentation.test.ts:46:7 › Check Block Indentation Functionality › Should be able to decrease indentation for single block [webkit] › keyboardhandlers/keyboardhandlers.test.ts:85:7 › Check Keyboard Handlers' Behaviour › Check Backspace preserves marks 18 skipped 163 passed (6.5m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
4.44 MB
relative-ci-artifacts-editor Expired
92.3 KB