feat(sync): add blob engine #18768
test.yaml
on: pull_request
Node.js Environment Compatibility
45s
Unit test
1m 16s
Integration test
47s
Inline Editor E2E test
51s
Matrix: Playground E2E test
Annotations
7 errors, 15 warnings, and 11 notices
selection/native.spec.ts:1244:1 › should select texts on dragging around the page:
http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts#L3333
1) selection/native.spec.ts:1244:1 › should select texts on dragging around the page ─────────────
Error: Uncaught exception: "Error: Failed to get current range, rangeCount is 0"
Error: Failed to get current range, rangeCount is 0
at getCurrentNativeRange (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts:3333:11)
at AffineDragHandleWidget._getHoveredBlocks (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18752:51)
at AffineDragHandleWidget._getDraggingAreaRect (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18799:62)
at AffineDragHandleWidget._showDragHandleOnHoverBlock (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18593:65)
at AffineDragHandleWidget._pointerMoveOnBlock (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:19026:14)
at AffineDragHandleWidget._pointerMoveHandler (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:19085:14)
at http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/global/src/utils/function.ts:1412:10
at UIEventDispatcher.run (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/dispatcher.ts:3188:49)
at PointerControl._moveOn (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/control/pointer.ts:2137:24)
at getCurrentNativeRange (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts:3333:11)
at AffineDragHandleWidget._getHoveredBlocks (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18752:51)
at AffineDragHandleWidget._getDraggingAreaRect (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18799:62)
at AffineDragHandleWidget._showDragHandleOnHoverBlock (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18593:65)
at AffineDragHandleWidget._pointerMoveOnBlock (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:19026:14)
at AffineDragHandleWidget._pointerMoveHandler (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:19085:14)
at /home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/global/src/utils/function.ts:1412:10
at UIEventDispatcher.run (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/dispatcher.ts:3188:49)
at PointerControl._moveOn (/home/runner/work/blocksuite/blocksuite/http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/control/pointer.ts:2137:24)
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:298:11)
|
selection/native.spec.ts:1244:1 › should select texts on dragging around the page:
tests/selection/native.spec.ts#L1272
1) selection/native.spec.ts:1244:1 › should select texts on dragging around the page ─────────────
Error: mouse.move: Test ended.
1270 | await page.mouse.move(coord.x, coord.y);
1271 | await page.mouse.down();
> 1272 | await page.mouse.move(coord.x + 26, coord.y + 90, { steps: 20 });
| ^
1273 | await page.mouse.up();
1274 | await page.keyboard.press('Backspace');
1275 | await waitNextFrame(page);
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:1272:20
|
hotkey.spec.ts:1149:1 › should ctrl+enter create new block:
tests/utils/asserts.ts#L210
1) hotkey.spec.ts:1149:1 › should ctrl+enter create new block ────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- "1",
- "23",
+ "123",
+ "",
]
at utils/asserts.ts:210
208 | });
209 | }, currentEditorIndex);
> 210 | expect(actualTexts).toEqual(texts);
| ^
211 | }
212 |
213 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:210:23)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1159:3
|
selection/native.spec.ts:436:1 › cursor move to up and down with children block:
tests/selection/native.spec.ts#L465
1) selection/native.spec.ts:436:1 › cursor move to up and down with children block ───────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 12
Received: 0
463 | const textTwo = await getInlineSelectionText(page);
464 | expect(textTwo).toBe('arrow down test 1');
> 465 | expect(indexTwo).toBeGreaterThanOrEqual(12);
| ^
466 | expect(indexTwo).toBeLessThanOrEqual(17);
467 | await page.keyboard.press('ArrowDown');
468 | const textThree = await getInlineSelectionText(page);
at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:465:20
|
edgeless/selection.spec.ts:615:3 › select multiple connectors › should show single selection rect:
tests/edgeless/selection.spec.ts#L1
1) edgeless/selection.spec.ts:615:3 › select multiple connectors › should show single selection rect
Test timeout of 40000ms exceeded.
|
edgeless/selection.spec.ts:615:3 › select multiple connectors › should show single selection rect:
tests/utils/actions/drag.ts#L21
1) edgeless/selection.spec.ts:615:3 › select multiple connectors › should show single selection rect
Error: mouse.move: Test timeout of 40000ms exceeded.
at utils/actions/drag.ts:21
19 | await page.mouse.move(x1, y1);
20 | await page.mouse.down();
> 21 | await page.mouse.move(x2, y2, { steps });
| ^
22 | await options?.beforeMouseUp?.();
23 | await page.mouse.up();
24 | }
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:21:20)
at addBasicConnectorElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:424:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection.spec.ts:631:5
|
embed-synced-doc.spec.ts:116:3 › Embed synced doc › can jump to other docs when click linked doc inside embed synced doc block:
tests/embed-synced-doc.spec.ts#L140
2) embed-synced-doc.spec.ts:116:3 › Embed synced doc › can jump to other docs when click linked doc inside embed synced doc block
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="Linked Doc"]') })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('affine-reference').filter({ has: locator('.affine-reference-title[data-title="Linked Doc"]') })
138 | has: page.locator(`.affine-reference-title[data-title="Linked Doc"]`),
139 | });
> 140 | await expect(refNode).toBeVisible();
| ^
141 | // Click the linked doc inside the embed synced doc to jump to the linked doc
142 | await refNode.click();
143 | await waitNextFrame(page, 200);
at /home/runner/work/blocksuite/blocksuite/tests/embed-synced-doc.spec.ts:140:27
|
🎭 Playwright Run Summary
14 passed (25.1s)
|
🎭 Playwright Run Summary
17 skipped
54 passed (3.3m)
|
🎭 Playwright Run Summary
7 skipped
63 passed (3.5m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:1244:1 › should select texts on dragging around the page ──────────────
2 skipped
67 passed (3.9m)
|
🎭 Playwright Run Summary
3 skipped
67 passed (4.1m)
|
🎭 Playwright Run Summary
1 flaky
hotkey.spec.ts:1149:1 › should ctrl+enter create new block ─────────────────────────────────────
2 skipped
67 passed (4.0m)
|
🎭 Playwright Run Summary
2 skipped
68 passed (4.0m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:436:1 › cursor move to up and down with children block ────────────────
1 skipped
68 passed (4.1m)
|
🎭 Playwright Run Summary
2 flaky
edgeless/selection.spec.ts:615:3 › select multiple connectors › should show single selection rect
embed-synced-doc.spec.ts:116:3 › Embed synced doc › can jump to other docs when click linked doc inside embed synced doc block
3 skipped
65 passed (4.5m)
|
🎭 Playwright Run Summary
70 passed (4.8m)
|
🎭 Playwright Run Summary
8 skipped
62 passed (4.9m)
|
Node.js Environment Compatibility
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Integration test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Inline Editor E2E test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Unit test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
quote.spec.ts#L1
quote.spec.ts took 17.2s
|
Playground E2E test (6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Playground E2E test (4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|