fix: console error when pressing delete key in the paragraph before β¦ #158
Annotations
5 errors, 1 warning, and 1 notice
Run playwright test:
tests/fragments/frame-panel.spec.ts#L1
1) fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/utils/actions/keyboard.ts#L27
1) fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames
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 addNote (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:386:11)
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:40:5
|
Run playwright test:
tests/fragments/frame-panel.spec.ts#L1
2) fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change βββββ
Test timeout of 30000ms exceeded.
|
Run playwright test:
tests/fragments/frame-panel.spec.ts#L97
2) fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change βββββ
Error: mouse.click: Test timeout of 30000ms exceeded.
95 | expect(await frameCards.count()).toBe(2);
96 |
> 97 | await page.mouse.click(50, 300);
| ^
98 | await page.keyboard.press('Delete');
99 | await page.waitForTimeout(300);
100 |
at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:97:22
|
Run playwright test:
tests/utils/asserts.ts#L632
3) hotkey.spec.ts:1004:1 βΊ should cut work single line βββββββββββββββββββββββββββββββββββββββββββ
Error: <affine:note
prop:background="--affine-background-secondary-color"
prop:displayMode="both"
prop:edgeless={
Object {
"style": Object {
"borderRadius": 8,
"borderSize": 4,
"borderStyle": "solid",
"shadowType": "--affine-note-shadow-box",
},
}
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
prop:text="hello"
prop:type="text"
/>
</affine:note>
expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
@@ -13,9 +13,9 @@
}
prop:hidden={false}
prop:index="a0"
>
<affine:paragraph
- prop:text="ho"
+ prop:text="hello"
prop:type="text"
/>
</affine:note>
at utils/asserts.ts:632
630 | printFunctionName: false,
631 | });
> 632 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
633 | }
634 |
635 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:632:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1013: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
3 flaky
fragments/frame-panel.spec.ts:29:3 βΊ frame panel βΊ should display frame cards when there are frames
fragments/frame-panel.spec.ts:77:3 βΊ frame panel βΊ should update panel when frames change ββββββ
hotkey.spec.ts:1004:1 βΊ should cut work single line ββββββββββββββββββββββββββββββββββββββββββββ
3 skipped
60 passed (3.4m)
|
The logs for this run have expired and are no longer available.
Loading