Skip to content

Refactor/file blocks resolve url #2498

Refactor/file blocks resolve url

Refactor/file blocks resolve url #2498

Triggered via pull request May 23, 2024 11:59
Status Success
Total duration 11m 59s
Artifacts 2

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 9 warnings, and 1 notice
[firefox] › draghandle/draghandle.test.ts:39:7 › Check Draghandle functionality › Should show draghandle when hovering over block: tests/src/end-to-end/draghandle/draghandle.test.ts#L1
1) [firefox] › draghandle/draghandle.test.ts:39:7 › Check Draghandle functionality › Should show draghandle when hovering over block Test timeout of 30000ms exceeded.
[firefox] › draghandle/draghandle.test.ts:39:7 › Check Draghandle functionality › Should show draghandle when hovering over block: tests/src/utils/mouse.ts#L27
1) [firefox] › draghandle/draghandle.test.ts:39:7 › Check Draghandle functionality › Should show draghandle when hovering over block Error: locator.boundingBox: Target page, context or browser has been closed Call log: - waiting for locator('[data-content-type=heading][data-level="1"]') at ../utils/mouse.ts:27 25 | 26 | export async function moveMouseOverElement(page: Page, element: Locator) { > 27 | const boundingBox = (await element.boundingBox())!; | ^ 28 | const coords = { x: boundingBox.x + 1, y: boundingBox.y + 1 }; 29 | await page.mouse.move(coords.x, coords.y, { steps: 5 }); 30 | } at moveMouseOverElement (/home/runner/work/BlockNote/BlockNote/tests/src/utils/mouse.ts:27:38) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:43:31
[firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu: tests/src/end-to-end/draghandle/draghandle.test.ts#L1
2) [firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu Test timeout of 30000ms exceeded.
[firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu: tests/src/utils/mouse.ts#L27
2) [firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu Error: locator.boundingBox: Target page, context or browser has been closed Call log: - waiting for locator('[data-content-type=heading][data-level="1"]').first() at ../utils/mouse.ts:27 25 | 26 | export async function moveMouseOverElement(page: Page, element: Locator) { > 27 | const boundingBox = (await element.boundingBox())!; | ^ 28 | const coords = { x: boundingBox.x + 1, y: boundingBox.y + 1 }; 29 | await page.mouse.move(coords.x, coords.y, { steps: 5 }); 30 | } at moveMouseOverElement (/home/runner/work/BlockNote/BlockNote/tests/src/utils/mouse.ts:27:38) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:79:31
[firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children: tests/src/end-to-end/slashmenu/slashmenu.test.ts#L1
3) [firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children Test timeout of 30000ms exceeded.
[firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children: tests/src/end-to-end/slashmenu/slashmenu.test.ts#L99
3) [firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children Error: page.waitForSelector: Test timeout of 30000ms exceeded. Call log: - waiting for locator('[data-content-type=heading][data-level="1"]') to be visible 97 | await page.keyboard.press("ArrowUp", { delay: TYPE_DELAY }); 98 | await executeSlashCommand(page, "h1"); > 99 | await page.waitForSelector(H_ONE_BLOCK_SELECTOR); | ^ 100 | // If done correctly there should be a total on 2 block groups 101 | // a total of 4 blocks and the 3rd block should have no blockgroup 102 | // and BLOCK_A should have one child at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:99:16
[webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link 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 link toolbar Error: Screenshot comparison failed: 84749 pixels (ratio 0.03 of all image pixels) are different. Expected: /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts-snapshots/dark-link-toolbar-webkit-linux.png Received: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-actual.png Diff: /home/runner/work/BlockNote/BlockNote/tests/test-results/theming-theming-Check-Dark-398f6-ould-show-dark-link-toolbar-webkit/dark-link-toolbar-diff.png 48 | 49 | await page.waitForTimeout(500); > 50 | expect(await page.screenshot()).toMatchSnapshot("dark-link-toolbar.png"); | ^ 51 | }); 52 | test("Should show dark slash menu", async ({ page }) => { 53 | await focusOnEditor(page); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/theming/theming.test.ts:50:37
🎭 Playwright Run Summary
4 flaky [firefox] › draghandle/draghandle.test.ts:39:7 › Check Draghandle functionality › Should show draghandle when hovering over block [firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu [firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children [webkit] › theming/theming.test.ts:38:7 › Check Dark Theme is Automatically Applied › Should show dark link toolbar 18 skipped 200 passed (8.1m)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "relative-ci-artifacts-editor". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
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 25.8s
Slow Test: tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.6s
Slow Test: tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 19.2s
Slow Test: tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 18.5s
Slow Test: tests/[webkit] › ariakit/ariakit.test.ts#L1
tests/[webkit] › ariakit/ariakit.test.ts took 17.1s

Artifacts

Produced during runtime
Name Size
playwright-report Expired
1.34 MB
relative-ci-artifacts-editor Expired
116 KB