fix: console error when pressing delete key in the paragraph before β¦ #158
Annotations
3 errors, 1 warning, and 1 notice
Run playwright test:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:279:1 βΊ should rename attachment works βββββββββββββββββββββββββββββββββββββ
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/keyboard.ts#L27
1) attachment.spec.ts:279:1 βΊ should rename attachment 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 rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:103:13)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:310:3
|
Run playwright test:
tests/utils/asserts.ts#L149
2) basic.spec.ts:349:1 βΊ should undo/redo cursor works on title ββββββββββββββββββββββββββββββββββ
Error: expect(received).toBe(expected) // Object.is equality
Expected: "title2"
Received: "title"
at utils/asserts.ts:149
147 | const inlineEditor = editor.locator('.doc-title-container').first();
148 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 149 | expect(vText).toBe(text);
| ^
150 | }
151 |
152 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:149:17)
at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:369: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/.
|
Run playwright test
2 flaky
attachment.spec.ts:279:1 βΊ should rename attachment works ββββββββββββββββββββββββββββββββββββββ
basic.spec.ts:349:1 βΊ should undo/redo cursor works on title βββββββββββββββββββββββββββββββββββ
16 skipped
49 passed (2.9m)
|
The logs for this run have expired and are no longer available.
Loading