feat(sync): add blob engine #18769
test.yaml
on: pull_request
Node.js Environment Compatibility
45s
Unit test
1m 16s
Integration test
50s
Inline Editor E2E test
46s
Matrix: Playground E2E test
Annotations
5 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
|
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown:
tests/edgeless/basic.spec.ts#L187
1) edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
Error: expect.toBeVisible: Error: strict mode violation: locator('.affine-tooltip') resolved to 2 elements:
1) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'Select V' })
2) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'More' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-tooltip')
185 |
186 | await page.mouse.move(moreButtonBox.x + 10, moreButtonBox.y + 10);
> 187 | await expect(tooltip).toBeVisible();
| ^
188 |
189 | await page.mouse.click(moreButtonBox.x + 10, moreButtonBox.y + 10);
190 | await expect(tooltip).toBeHidden();
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:187:25
|
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
|
🎭 Playwright Run Summary
14 passed (24.7s)
|
🎭 Playwright Run Summary
17 skipped
54 passed (3.4m)
|
🎭 Playwright Run Summary
7 skipped
63 passed (3.6m)
|
🎭 Playwright Run Summary
1 flaky
selection/native.spec.ts:1244:1 › should select texts on dragging around the page ──────────────
2 skipped
67 passed (3.8m)
|
🎭 Playwright Run Summary
2 skipped
68 passed (3.9m)
|
🎭 Playwright Run Summary
1 skipped
69 passed (4.0m)
|
🎭 Playwright Run Summary
2 skipped
68 passed (3.8m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
3 skipped
66 passed (4.2m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/selection.spec.ts:615:3 › select multiple connectors › should show single selection rect
3 skipped
66 passed (4.5m)
|
🎭 Playwright Run Summary
70 passed (4.7m)
|
🎭 Playwright Run Summary
8 skipped
62 passed (4.8m)
|
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/.
|
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/.
|
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 (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 (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 18.4s
|
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 (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 (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/.
|