Skip to content

feat: Checkbox/TODO list item block #2496

feat: Checkbox/TODO list item block

feat: Checkbox/TODO list item block #2496

Triggered via pull request May 22, 2024 18:26
Status Success
Total duration 11m 35s
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:75:7 › Check Draghandle functionality › Clicking draghandle should open menu: tests/src/end-to-end/draghandle/draghandle.test.ts#L1
1) [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
1) [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] › draghandle/draghandle.test.ts:159:7 › Check Draghandle functionality › Deleting block with children should delete all children: tests/src/end-to-end/draghandle/draghandle.test.ts#L1
2) [firefox] › draghandle/draghandle.test.ts:159:7 › Check Draghandle functionality › Deleting block with children should delete all children Test timeout of 30000ms exceeded.
[firefox] › draghandle/draghandle.test.ts:159:7 › Check Draghandle functionality › Deleting block with children should delete all children: tests/src/end-to-end/draghandle/draghandle.test.ts#L173
2) [firefox] › draghandle/draghandle.test.ts:159:7 › Check Draghandle functionality › Deleting block with children should delete all children Error: page.hover: Target page, context or browser has been closed Call log: - waiting for locator('[data-content-type=heading][data-level="2"]') 171 | await page.keyboard.type("This is h3"); 172 | > 173 | await page.hover(H_TWO_BLOCK_SELECTOR); | ^ 174 | await page.click(DRAG_HANDLE_SELECTOR); 175 | await page.click("text=Delete"); 176 | await page.waitForSelector(H_ONE_BLOCK_SELECTOR); at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:173:16
[firefox] › slashmenu/slashmenu.test.ts:30:7 › Check SlashMenu Functionality › Should be able to create h1: tests/src/utils/editor.ts#L11
3) [firefox] › slashmenu/slashmenu.test.ts:30:7 › Check SlashMenu Functionality › Should be able to create h1 TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for locator('.bn-editor').locator('[data-content-type=heading][data-level="1"]') at ../utils/editor.ts:11 9 | export async function waitForSelectorInEditor(page: Page, selector: string) { 10 | const editor = page.locator(EDITOR_SELECTOR); > 11 | await editor.locator(selector).waitFor({ | ^ 12 | state: "attached", 13 | timeout: 1000, 14 | }); at waitForSelectorInEditor (/home/runner/work/BlockNote/BlockNote/tests/src/utils/editor.ts:11:34) at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/slashmenu/slashmenu.test.ts:34:34
[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
4) [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
4) [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
🎭 Playwright Run Summary
4 flaky [firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu [firefox] › draghandle/draghandle.test.ts:159:7 › Check Draghandle functionality › Deleting block with children should delete all children [firefox] › slashmenu/slashmenu.test.ts:30:7 › Check SlashMenu Functionality › Should be able to create h1 [firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children 18 skipped 200 passed (8.3m)
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 26.1s
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 20.5s
Slow Test: tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 18.8s
Slow Test: tests/[firefox] › images/images.test.ts#L1
tests/[firefox] › images/images.test.ts took 16.4s
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/

Artifacts

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