fix(page): markdown export list early closing issue (#6151) #144
test.yaml
on: push
Node.js Environment Compatibility
54s
Unit test
1m 19s
Integration test
28s
Inline Editor E2E test
42s
Matrix: Playground E2E test
Annotations
41 errors, 14 warnings, and 11 notices
clipboard.spec.ts:921:1 › should copy and paste of database work:
tests/utils/asserts.ts#L631
1) clipboard.spec.ts:921:1 › should copy and paste of database work ──────────────────────────────
Error: <affine:page>
<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:database
prop:columns="Array [2]"
prop:title="Database 1"
prop:views="Array [1]"
>
<affine:paragraph
prop:type="text"
/>
</affine:database>
<affine:paragraph
prop:type="text"
/>
</affine:note>
</affine:page>
expect(received).toEqual(expected) // deep equality
- Expected - 9
+ Received + 0
@@ -22,19 +22,10 @@
>
<affine:paragraph
prop:type="text"
/>
</affine:database>
- <affine:database
- prop:columns="Array [2]"
- prop:title="Database 1"
- prop:views="Array [1]"
- >
- <affine:paragraph
- prop:type="text"
- />
- </affine:database>
<affine:paragraph
prop:type="text"
/>
</affine:note>
</affine:page>
at utils/asserts.ts:631
629 | printFunctionName: false,
630 | });
> 631 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
632 | }
633 |
634 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:631:38)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:937:3
|
clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode:
tests/clipboard.spec.ts#L1
2) clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ─────────────────
Test timeout of 30000ms exceeded.
|
clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode:
tests/utils/actions/keyboard.ts#L139
2) clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ─────────────────
Error: keyboard.press: Test timeout of 30000ms exceeded.
at utils/actions/keyboard.ts:139
137 |
138 | export async function copyByKeyboard(page: Page) {
> 139 | await page.keyboard.press(`${SHORT_KEY}+c`, { delay: 20 });
| ^
140 | }
141 |
142 | export async function cutByKeyboard(page: Page) {
at copyByKeyboard (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:139:23)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1028:9
|
clipboard.spec.ts:1040:1 › copy when text note active in edgeless:
tests/utils/asserts.ts#L186
3) clipboard.spec.ts:1040:1 › copy when text note active in edgeless ─────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "12345551234"
Received: "1234555test"
at utils/asserts.ts:186
184 | export async function assertText(page: Page, text: string, i = 0) {
185 | const actual = await getStringFromRichText(page, i);
> 186 | expect(actual).toBe(text);
| ^
187 | }
188 |
189 | export async function assertTextContain(page: Page, text: string, i = 0) {
at assertText (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:186:18)
at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1055:3
|
attachment.spec.ts:279:1 › should rename attachment works:
tests/attachment.spec.ts#L1
1) attachment.spec.ts:279:1 › should rename attachment works ─────────────────────────────────────
Test timeout of 30000ms exceeded.
|
attachment.spec.ts:279:1 › should rename attachment works:
tests/attachment.spec.ts#L72
1) attachment.spec.ts:279:1 › should rename attachment works ─────────────────────────────────────
Error: locator.innerText: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('affine-attachment').locator('.affine-attachment-content-title-text')
70 |
71 | const getName = () =>
> 72 | attachment.locator('.affine-attachment-content-title-text').innerText();
| ^
73 |
74 | return {
75 | // locators
at getName (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:72:65)
at rename (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:105:20)
at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:314:3
|
bookmark.spec.ts:61:1 › create bookmark by slash menu:
tests/utils/actions/misc.ts#L260
2) bookmark.spec.ts:61:1 › create bookmark by slash menu ─────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
bookmark.spec.ts:61:1 › create bookmark by slash menu:
tests/utils/actions/misc.ts#L260
2) bookmark.spec.ts:61:1 › create bookmark by slash menu ─────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
bookmark.spec.ts:61:1 › create bookmark by slash menu:
tests/utils/actions/misc.ts#L260
2) bookmark.spec.ts:61:1 › create bookmark by slash menu ─────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
bookmark.spec.ts:61:1 › create bookmark by slash menu:
tests/utils/actions/misc.ts#L260
2) bookmark.spec.ts:61:1 › create bookmark by slash menu ─────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
bookmark.spec.ts:154:1 › covert bookmark block to link text:
tests/utils/actions/misc.ts#L260
3) bookmark.spec.ts:154:1 › covert bookmark block to link text ───────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
bookmark.spec.ts:193:1 › copy url to create bookmark in page mode:
tests/utils/actions/misc.ts#L260
4) bookmark.spec.ts:193:1 › copy url to create bookmark in page mode ─────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment."
Received: "Unexpected console message: Failed to parse query! Current range is not a text node. Range"
at utils/actions/misc.ts:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
hotkey.spec.ts:1004:1 › should cut work single line:
tests/hotkey.spec.ts#L1041
1) hotkey.spec.ts:1004:1 › should cut work single line ───────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "ell"
Received: ""
1039 | await undoByKeyboard(page);
1040 | const text = await readClipboardText(page);
> 1041 | expect(text).toBe('ell');
| ^
1042 | await assertStoreMatchJSX(
1043 | page,
1044 | `
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1041:16
|
hotkey.spec.ts:1004:1 › should cut work single line:
tests/utils/asserts.ts#L631
1) hotkey.spec.ts:1004:1 › should cut work single line ───────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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:631
629 | printFunctionName: false,
630 | });
> 631 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
632 | }
633 |
634 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:631:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1013:3
|
hotkey.spec.ts:1004:1 › should cut work single line:
tests/utils/asserts.ts#L631
1) hotkey.spec.ts:1004:1 › should cut work single line ───────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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:631
629 | printFunctionName: false,
630 | });
> 631 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart());
| ^
632 | }
633 |
634 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html';
at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:631:38)
at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1013:3
|
image.spec.ts:103:1 › can click and copy image:
tests/utils/asserts.ts#L227
2) image.spec.ts:103:1 › can click and copy image ────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 1
at utils/asserts.ts:227
225 | const editor = getEditorLocator(page);
226 | const actual = await editor.locator('.resizable-img').count();
> 227 | expect(actual).toEqual(count);
| ^
228 | }
229 |
230 | export async function assertDivider(page: Page, count: number) {
at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:227:18)
at /home/runner/work/blocksuite/blocksuite/tests/image.spec.ts:115:3
|
link.spec.ts:358:1 › convert link to card:
tests/link.spec.ts#L373
3) link.spec.ts:358:1 › convert link to card ─────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.affine-link-popover')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.affine-link-popover')
371 | await waitNextFrame(page);
372 | const linkPopoverLocator = page.locator('.affine-link-popover');
> 373 | await expect(linkPopoverLocator).toBeVisible();
| ^
374 | const linkPopoverInput = page.locator('.affine-link-popover-input');
375 | await expect(linkPopoverInput).toBeVisible();
376 | await type(page, link);
at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:373:36
|
linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page:
tests/linked-page.spec.ts#L1
1) linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page ─────────────────
Test finished within timeout of 30000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
list.spec.ts:573:3 › indent correctly when deleting list item › delete the child item in the middle position:
tests/utils/asserts.ts#L434
2) list.spec.ts:573:3 › indent correctly when deleting list item › delete the child item in the middle position
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Array [
"4",
+ "7",
"6",
]
at utils/asserts.ts:434
432 | { blockId }
433 | );
> 434 | expect(actual).toEqual(ids);
| ^
435 | }
436 |
437 | export async function assertBlockChildrenFlavours(
at assertBlockChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:434:18)
at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:591:5
|
paragraph.spec.ts:1287:1 › press arrow up in the second line should move caret to the first line:
tests/utils/asserts.ts#L148
3) paragraph.spec.ts:1287:1 › press arrow up in the second line should move caret to the first line
Error: expect(received).toBe(expected) // Object.is equality
Expected: "1"
Received: ""
at utils/asserts.ts:148
146 | const inlineEditor = editor.locator('.doc-title-container').first();
147 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText());
> 148 | expect(vText).toBe(text);
| ^
149 | }
150 |
151 | export async function assertInlineEditorDeltas(
at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:148:17)
at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1327:3
|
edgeless/auto-complete.spec.ts:112:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note:
tests/utils/asserts.ts#L206
1) edgeless/auto-complete.spec.ts:112:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Array [
- "hello",
+ "",
]
at utils/asserts.ts:206
204 | });
205 | }, currentEditorIndex);
> 206 | expect(actualTexts).toEqual(texts);
| ^
207 | }
208 |
209 | export async function assertEdgelessCanvasText(page: Page, text: string) {
at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:206:23)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:128:7
|
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar:
tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar:
tests/utils/actions/drag.ts#L21
1) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ───────────────────────────────
Error: mouse.move: Test timeout of 30000ms 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 addBasicBrushElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:345:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:99:3
|
edgeless/shape.spec.ts:131:1 › change shape stroke color:
tests/edgeless/shape.spec.ts#L1
2) edgeless/shape.spec.ts:131:1 › change shape stroke color ──────────────────────────────────────
Test timeout of 30000ms exceeded.
|
edgeless/shape.spec.ts:131:1 › change shape stroke color:
tests/utils/actions/drag.ts#L21
2) edgeless/shape.spec.ts:131:1 › change shape stroke color ──────────────────────────────────────
Error: mouse.move: Test timeout of 30000ms 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 addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:355:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:140:3
|
format-bar.spec.ts:312:1 › should format quick bar be able to change background color:
tests/format-bar.spec.ts#L433
3) format-bar.spec.ts:312:1 › should format quick bar be able to change background color ─────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('.affine-format-bar-widget').getByTestId('unset')
- locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not visible - waiting...
431 |
432 | await expect(highlight.defaultColorBtn).toBeVisible();
> 433 | await highlight.defaultColorBtn.click();
| ^
434 |
435 | await assertStoreMatchJSX(
436 | page,
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:433:35
|
format-bar.spec.ts:1537:1 › can extend format bar:
tests/format-bar.spec.ts#L1543
4) format-bar.spec.ts:1537:1 › can extend format bar ─────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('custom-format-bar-element')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('custom-format-bar-element')
1541 | await extendFormatBar(page);
1542 | await dragBetweenIndices(page, [0, 0], [2, 3]);
> 1543 | await expect(page.getByTestId('custom-format-bar-element')).toBeVisible();
| ^
1544 | });
1545 |
1546 | test('format quick bar should not break cursor jumping', async ({ page }) => {
at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:1543:63
|
edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick:
tests/edgeless/group.spec.ts#L452
1) edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick ──────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
450 |
451 | test.describe('group title', () => {
> 452 | test.beforeEach(async ({ page }) => {
| ^
453 | await init(page);
454 | await selectAllByKeyboard(page);
455 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:452:10
|
edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick:
tests/utils/actions/drag.ts#L19
1) edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick ──────────────
Error: mouse.move: Test timeout of 30000ms exceeded.
at utils/actions/drag.ts:19
17 | const { x: x2, y: y2 } = to;
18 | options?.click && (await page.mouse.click(x1, y1));
> 19 | await page.mouse.move(x1, y1);
| ^
20 | await page.mouse.down();
21 | await page.mouse.move(x2, y2, { steps });
22 | await options?.beforeMouseUp?.();
at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:19:20)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:365:9)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1320:3)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:47:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:453:7
|
edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor:
tests/edgeless/group.spec.ts#L452
2) edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor ────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
450 |
451 | test.describe('group title', () => {
> 452 | test.beforeEach(async ({ page }) => {
| ^
453 | await init(page);
454 | await selectAllByKeyboard(page);
455 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:452:10
|
edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor:
tests/utils/actions/drag.ts#L21
2) edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor ────────────────
Error: mouse.move: Test timeout of 30000ms 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 addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:365:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1320:3)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:47:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:453:7
|
edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor:
tests/edgeless/group.spec.ts#L452
3) edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor ───────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
450 |
451 | test.describe('group title', () => {
> 452 | test.beforeEach(async ({ page }) => {
| ^
453 | await init(page);
454 | await selectAllByKeyboard(page);
455 | await triggerComponentToolbarAction(page, 'addGroup');
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:452:10
|
edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor:
tests/utils/actions/drag.ts#L21
3) edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor ───────────────
Error: mouse.move: Test timeout of 30000ms 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 addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:365:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1320:3)
at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:47:5)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:453:7
|
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element:
tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element:
tests/utils/actions/edgeless.ts#L274
1) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ──────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('edgeless-tool-icon-button').filter({ hasText: 'Square' })
- locator resolved to <edgeless-tool-icon-button>…</edgeless-tool-icon-button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable - waiting...
- element is visible, enabled and stable
- scrolling into view if needed
at utils/actions/edgeless.ts:274
272 | .locator('edgeless-tool-icon-button')
273 | .filter({ hasText: shape });
> 274 | await squareShapeButton.click();
| ^
275 | break;
276 | }
277 | }
at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:274:31)
at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:364:3)
at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1320:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:127:3
|
edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element:
tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element:
tests/utils/actions/drag.ts#L21
2) edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element
Error: mouse.move: Test timeout of 30000ms 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 addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:355:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:149:3
|
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#L1
3) edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
Test timeout of 30000ms exceeded.
|
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown:
tests/utils/actions/drag.ts#L21
3) edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
Error: mouse.move: Test timeout of 30000ms 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 addBasicBrushElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:345:3)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:173:3
|
edgeless/clipboard.spec.ts:65:3 › connector clipboard › copy and paste connector whose both sides connect elements:
tests/utils/actions/misc.ts#L260
4) edgeless/clipboard.spec.ts:65:3 › connector clipboard › copy and paste connector whose both sides connect elements, but only paste connector
Error: expect(received).toBe(expected) // Object.is equality
- Expected - 1
+ Received + 7
- 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: val does not exist
+ at assertExists (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/global/src/utils/assert.ts:1309:11)
+ at Clipboard.readFromClipboard (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/clipboard/index.ts:2752:5)
+ at EdgelessClipboardController._onPaste (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/page-block/edgeless/controllers/clipboard.ts:10753:66)
+ at host.handleEvent.global (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/page-block/edgeless/controllers/clipboard.ts:10581:14)
+ at UIEventDispatcher.run (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/dispatcher.ts:2834:49)
+ at ClipboardControl._paste (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/control/clipboard.ts:572:24)
at utils/actions/misc.ts:260
258 | expect
259 | .soft('Unexpected console message: ' + message.text())
> 260 | .toBe(
| ^
261 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.'
262 | );
263 | }
at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:260:10)
|
edgeless/clipboard.spec.ts:65:3 › connector clipboard › copy and paste connector whose both sides connect elements:
eval at evaluate (:226:30)#L5
4) edgeless/clipboard.spec.ts:65:3 › connector clipboard › copy and paste connector whose both sides connect elements, but only paste connector
Error: page.evaluate: TypeError: Cannot read properties of undefined (reading 'absolutePath')
at eval (eval at evaluate (:226:30), <anonymous>:5:30)
at UtilityScript.evaluate (<anonymous>:228:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
at eval (/home/runner/work/blocksuite/blocksuite/eval at evaluate (:226:30), <anonymous>:5:30)
at UtilityScript.evaluate (/home/runner/work/blocksuite/blocksuite/<anonymous>:228:17)
at UtilityScript.<anonymous> (/home/runner/work/blocksuite/blocksuite/<anonymous>:1:44)
at getConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1181:21)
at assertConnectorPath (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:912:28)
at /home/runner/work/blocksuite/blocksuite/tests/edgeless/clipboard.spec.ts:78:11
|
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/.
|
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/.
|
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. 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. 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. 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. 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. 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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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. 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. 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. 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. 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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 Playwright Run Summary
12 passed (22.3s)
|
🎭 Playwright Run Summary
2 skipped
63 passed (2.9m)
|
🎭 Playwright Run Summary
3 flaky
clipboard.spec.ts:921:1 › should copy and paste of database work ───────────────────────────────
clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ──────────────────
clipboard.spec.ts:1040:1 › copy when text note active in edgeless ──────────────────────────────
8 skipped
55 passed (3.1m)
|
🎭 Playwright Run Summary
4 flaky
attachment.spec.ts:279:1 › should rename attachment works ──────────────────────────────────────
bookmark.spec.ts:61:1 › create bookmark by slash menu ──────────────────────────────────────────
bookmark.spec.ts:154:1 › covert bookmark block to link text ────────────────────────────────────
bookmark.spec.ts:193:1 › copy url to create bookmark in page mode ──────────────────────────────
16 skipped
46 passed (3.1m)
|
🎭 Playwright Run Summary
1 skipped
64 passed (3.2m)
|
🎭 Playwright Run Summary
3 flaky
hotkey.spec.ts:1004:1 › should cut work single line ────────────────────────────────────────────
image.spec.ts:103:1 › can click and copy image ─────────────────────────────────────────────────
link.spec.ts:358:1 › convert link to card ──────────────────────────────────────────────────────
4 skipped
58 passed (3.4m)
|
🎭 Playwright Run Summary
3 flaky
linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page ──────────────────
list.spec.ts:573:3 › indent correctly when deleting list item › delete the child item in the middle position
paragraph.spec.ts:1287:1 › press arrow up in the second line should move caret to the first line
1 skipped
61 passed (3.4m)
|
🎭 Playwright Run Summary
1 flaky
edgeless/auto-complete.spec.ts:112:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note
65 passed (3.5m)
|
🎭 Playwright Run Summary
4 flaky
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ────────────────────────────────
edgeless/shape.spec.ts:131:1 › change shape stroke color ───────────────────────────────────────
format-bar.spec.ts:312:1 › should format quick bar be able to change background color ──────────
format-bar.spec.ts:1537:1 › can extend format bar ──────────────────────────────────────────────
1 skipped
60 passed (3.9m)
|
🎭 Playwright Run Summary
3 flaky
edgeless/group.spec.ts:467:5 › group › group title › edit group title by dbclick ───────────────
edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor ─────────────────
edgeless/group.spec.ts:490:5 › group › group title › enter unmount group editor ────────────────
62 passed (4.4m)
|
🎭 Playwright Run Summary
4 flaky
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ───────────────────
edgeless/basic.spec.ts:139:1 › should cancel select when the selected point is outside the current selected element
edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown
edgeless/clipboard.spec.ts:65:3 › connector clipboard › copy and paste connector whose both sides connect elements, but only paste connector
3 skipped
59 passed (4.9m)
|