feat: Checkbox/TODO list item block #2500
Annotations
5 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:118:7 › Check Draghandle functionality › Click add button for non-selected empty block:
tests/src/utils/mouse.ts#L27
2) [firefox] › draghandle/draghandle.test.ts:118:7 › Check Draghandle functionality › Click add button for non-selected empty block
Error: locator.boundingBox: Error: strict mode violation: locator('[data-content-type="paragraph"]') resolved to 2 elements:
1) <div class="bn-block-content" data-content-type="para…>…</div> aka locator('.bn-block-content').first()
2) <div class="bn-block-content" data-content-type="para…>…</div> aka locator('div:nth-child(2) > .bn-block > .bn-block-content')
Call log:
- waiting for locator('[data-content-type="paragraph"]')
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 hoverAndAddBlockFromDragHandle (/home/runner/work/BlockNote/BlockNote/tests/src/utils/draghandle.ts:19:29)
at /home/runner/work/BlockNote/BlockNote/tests/src/end-to-end/draghandle/draghandle.test.ts:123:5
|
[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
|
🎭 Playwright Run Summary
3 flaky
[firefox] › draghandle/draghandle.test.ts:75:7 › Check Draghandle functionality › Clicking draghandle should open menu
[firefox] › draghandle/draghandle.test.ts:118:7 › Check Draghandle functionality › Click add button for non-selected empty block
[firefox] › slashmenu/slashmenu.test.ts:80:7 › Check SlashMenu Functionality › Should add new block after current blocks children
18 skipped
201 passed (7.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 26.2s
|
Slow Test:
tests/[chromium] › draghandle/draghandle.test.ts#L1
tests/[chromium] › draghandle/draghandle.test.ts took 22.7s
|
Slow Test:
tests/[webkit] › slashmenu/slashmenu.test.ts#L1
tests/[webkit] › slashmenu/slashmenu.test.ts took 19.9s
|
Slow Test:
tests/[webkit] › ariakit/ariakit.test.ts#L1
tests/[webkit] › ariakit/ariakit.test.ts took 19.4s
|
Slow Test:
tests/[webkit] › images/images.test.ts#L1
tests/[webkit] › images/images.test.ts took 18.2s
|
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.06 MB |
|
relative-ci-artifacts-editor
Expired
|
116 KB |
|