fix(presets): editor should can be selected in readonly mode #16513
Annotations
3 errors, 1 warning, and 1 notice
Run playwright test:
tests/linked-page.spec.ts#L1
1) linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works ───────────────────
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/keyboard.ts#L27
1) linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works ───────────────────
Error: keyboard.type: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:27
25 |
26 | export async function type(page: Page, content: string, delay = 20) {
> 27 | await page.keyboard.type(content, { delay });
| ^
28 | }
29 |
30 | export async function withPressKey(
at type (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:27:23)
at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:679:11
|
Run playwright test:
tests/utils/actions/misc.ts#L289
1) linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works ───────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 10
- Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.
+ Unexpected console message: Error: nodeView not found
+ at iterate (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/view/view-store.ts:3728:17)
+ at ViewStore.getNodeViewTree (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/view/view-store.ts:3752:20)
+ at ViewStore.fromPath (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/view/view-store.ts:3762:51)
+ at ViewStore.getChildren (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/view/view-store.ts:3603:50)
+ at get childBlockElements (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/lit/src/element/block-element.ts:3051:64)
+ at PageRootBlockComponent.getUpdateComplete (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/lit/src/element/block-element.ts:3138:28)
+ at async Promise.all (index 0)
+ at async EditorHost.getUpdateComplete (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/lit/src/element/lit-host.ts:2961:7)
+ at async RangeBinding._onNativeSelectionChanged (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/lit/src/utils/range-binding.ts:3354:7)
at utils/actions/misc.ts:289
287 | expect
288 | .soft('Unexpected console message: ' + message.text())
> 289 | .toBe(
| ^
290 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
291 | );
292 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:289: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/.
|
Run playwright test
1 flaky
linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works ────────────────────
2 skipped
63 passed (3.1m)
|
The logs for this run have expired and are no longer available.
Loading