fix(store): use lib0 sha256 when api not available #16795
Annotations
1 error, 1 warning, and 1 notice
Run playwright test:
http:/localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/_common/utils/selection.ts#L3333
1) selection/native.spec.ts:1235: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:18441:51)
at AffineDragHandleWidget._getDraggingAreaRect (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18488:62)
at AffineDragHandleWidget._showDragHandleOnHoverBlock (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18282:65)
at AffineDragHandleWidget._pointerMoveOnBlock (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18715:14)
at AffineDragHandleWidget._pointerMoveHandler (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/root-block/widgets/drag-handle/drag-handle.ts:18774: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:3045: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:18441: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:18488: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:18282: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:18715: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:18774: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:3045: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)
|
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/.
|
Run playwright test
1 flaky
selection/native.spec.ts:1235:1 › should select texts on dragging around the page ──────────────
2 skipped
63 passed (3.2m)
|
The logs for this run have expired and are no longer available.
Loading