Skip to content

site: add analytics #2113

site: add analytics

site: add analytics #2113

Triggered via pull request March 5, 2024 14:55
Status Success
Total duration 9m 46s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 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:20:7 › Check Background & Text Color Functionality › Should be able to apply a text color mark: tests/src/end-to-end/colors/colors.test.ts#L40
2) [webkit] › colors/colors.test.ts:20:7 › Check Background & Text Color Functionality › Should be able to apply a text 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/textColorMark-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-apply-a-text-color-mark-webkit/textColorMark-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/colors-colors-Check-Background-Text-Color-Functionality-Should-be-able-to-apply-a-text-color-mark-webkit/textColorMark-diff.png 38 | await page.waitForTimeout(500); 39 | > 40 | expect(await page.screenshot()).toMatchSnapshot("textColorMark.png"); | ^ 41 | }); 42 | test("Should be able to apply a background color mark", async ({ page }) => { 43 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/colors/colors.test.ts:40:37
[webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty: tests/src/utils/editor.ts#L37
3) [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": "ng" } ] } ] }, { "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/enterSelectionNotEmpty-json-webkit-linux.json Received: /home/runner/work/BlockNote/BlockNote/tests/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/src/utils/editor.ts:37:15) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts:38:5
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark hyperlink toolbar: tests/src/end-to-end/theming/theming.test.ts#L50
4) [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark hyperlink toolbar Error: Screenshot comparison failed: 2278 pixels (ratio 0.01 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-hyperlink-toolbar-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-Theme-is-Automatically-Applied-Should-show-dark-hyperlink-toolbar-webkit/dark-hyperlink-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-Theme-is-Automatically-Applied-Should-show-dark-hyperlink-toolbar-webkit/dark-hyperlink-toolbar-diff.png 48 | 49 | await page.waitForTimeout(500); > 50 | expect(await page.screenshot()).toMatchSnapshot( | ^ 51 | "dark-hyperlink-toolbar.png" 52 | ); 53 | }); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:50:37
🎭 Playwright Run Summary
4 flaky [chromium] › keyboardhandlers/keyboardhandlers.test.ts:40:7 › Check Keyboard Handlers' Behaviour › Check Enter preserves marks [webkit] › colors/colors.test.ts:20:7 › Check Background & Text Color Functionality › Should be able to apply a text color mark [webkit] › keyboardhandlers/keyboardhandlers.test.ts:18:7 › Check Keyboard Handlers' Behaviour › Check Enter when selection is not empty [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark hyperlink toolbar 18 skipped 164 passed (5.8m)
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.3s
Slow Test: tests/[firefox] › draghandle/draghandle.test.ts#L1
tests/[firefox] › draghandle/draghandle.test.ts took 22.4s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 21.0s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 18.8s
Slow Test: tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 18.5s

Artifacts

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