Skip to content

docs: update CLA (#6222) #155

docs: update CLA (#6222)

docs: update CLA (#6222) #155

Triggered via push February 19, 2024 07:13
Status Success
Total duration 5m 36s
Artifacts

test.yaml

on: push
Node.js Environment Compatibility
44s
Node.js Environment Compatibility
Unit test
1m 21s
Unit test
Integration test
33s
Integration test
Inline Editor E2E test
49s
Inline Editor E2E test
Matrix: Playground E2E test
Fit to window
Zoom out
Zoom in

Annotations

40 errors, 14 warnings, and 11 notices
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.
paragraph.spec.ts:1475:1 › delete empty text paragraph block should keep children blocks when following custom blocks: tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1475:1 › delete empty text paragraph block should keep children blocks when following custom blocks 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.
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 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.
format-bar.spec.ts:1543:1 › can extend format bar: tests/format-bar.spec.ts#L1549
3) format-bar.spec.ts:1543: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') 1547 | await extendFormatBar(page); 1548 | await dragBetweenIndices(page, [0, 0], [2, 3]); > 1549 | await expect(page.getByTestId('custom-format-bar-element')).toBeVisible(); | ^ 1550 | }); 1551 | 1552 | test('format quick bar should not break cursor jumping', async ({ page }) => { at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:1549:63
attachment.spec.ts:122:1 › can insert attachment from slash menu: tests/attachment.spec.ts#L1
1) attachment.spec.ts:122:1 › can insert attachment from slash menu ────────────────────────────── Test timeout of 30000ms exceeded.
attachment.spec.ts:122:1 › can insert attachment from slash menu: tests/utils/actions/misc.ts#L642
1) attachment.spec.ts:122:1 › can insert attachment from slash menu ────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('editor-host').first().locator('.inline-editor').first() at utils/actions/misc.ts:642 640 | const locator = editor.locator(RICH_TEXT_SELECTOR).nth(i); 641 | // need to set `force` to true when clicking on `affine-selected-blocks` > 642 | await locator.click({ force: true, position: options?.clickPosition }); | ^ 643 | } 644 | 645 | export async function focusRichTextEnd(page: Page, i = 0) { at focusRichText (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:642:17) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:129:3
attachment.spec.ts:172:1 › should undo/redo works for attachment: tests/attachment.spec.ts#L1
2) attachment.spec.ts:172:1 › should undo/redo works for attachment ────────────────────────────── Test timeout of 30000ms exceeded.
attachment.spec.ts:172:1 › should undo/redo works for attachment: tests/utils/actions/misc.ts#L395
2) attachment.spec.ts:172:1 › should undo/redo works for attachment ────────────────────────────── Error: page.evaluate: Test timeout of 30000ms exceeded. at utils/actions/misc.ts:395 393 | // XXX: This doesn't add surface yet, the page state should not be switched to edgeless. 394 | export async function initEmptyParagraphState(page: Page, pageId?: string) { > 395 | const ids = await page.evaluate(async pageId => { | ^ 396 | const { page } = window; 397 | page.captureSync(); 398 | if (!pageId) { at initEmptyParagraphState (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:395:26) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:174:28
attachment.spec.ts:172:1 › should undo/redo works for attachment: tests/utils/asserts.ts#L631
2) attachment.spec.ts:172:1 › should undo/redo works for attachment ────────────────────────────── 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="/" prop:type="text" /> </affine:note> expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -13,8 +13,9 @@ } prop:hidden={false} prop:index="a0" > <affine:paragraph + prop:text="/" 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/attachment.spec.ts:218:3
attachment.spec.ts:279:1 › should rename attachment works: tests/attachment.spec.ts#L1
3) attachment.spec.ts:279:1 › should rename attachment works ───────────────────────────────────── Test timeout of 30000ms exceeded.
attachment.spec.ts:279:1 › should rename attachment works: tests/utils/actions/misc.ts#L642
3) attachment.spec.ts:279:1 › should rename attachment works ───────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('editor-host').first().locator('.inline-editor').first() at utils/actions/misc.ts:642 640 | const locator = editor.locator(RICH_TEXT_SELECTOR).nth(i); 641 | // need to set `force` to true when clicking on `affine-selected-blocks` > 642 | await locator.click({ force: true, position: options?.clickPosition }); | ^ 643 | } 644 | 645 | export async function focusRichTextEnd(page: Page, i = 0) { at focusRichText (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:642:17) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:296:3
bookmark.spec.ts:193:1 › copy url to create bookmark in page mode: tests/utils/actions/misc.ts#L290
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:290 288 | expect 289 | .soft('Unexpected console message: ' + message.text()) > 290 | .toBe( | ^ 291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 292 | ); 293 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
bookmark.spec.ts:193:1 › copy url to create bookmark in page mode: tests/utils/actions/misc.ts#L290
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:290 288 | expect 289 | .soft('Unexpected console message: ' + message.text()) > 290 | .toBe( | ^ 291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 292 | ); 293 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode: tests/utils/actions/misc.ts#L290
5) bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless 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:290 288 | expect 289 | .soft('Unexpected console message: ' + message.text()) > 290 | .toBe( | ^ 291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 292 | ); 293 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
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 ─────────────────────────────────────────── 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
clipboard.spec.ts:921:1 › should copy and paste of database work: tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:921:1 › should copy and paste of database work ────────────────────────────── 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.
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/drag.ts#L21
2) clipboard.spec.ts:1020:1 › copy canvas element and text note in edgeless mode ───────────────── 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 /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1025:3
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
clipboard.spec.ts:1082:1 › copy and paste to selection block selection: tests/utils/asserts.ts#L206
4) clipboard.spec.ts:1082:1 › copy and paste to selection block selection ──────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ - "12341234", + "1234", ] 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/clipboard.spec.ts:1097:3
code.spec.ts:362:1 › keyboard selection and copy paste: tests/code.spec.ts#L376
5) code.spec.ts:362:1 › keyboard selection and copy paste ──────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality - Expected - 1 + Received + 3 - useuse + bc + d + use 374 | 375 | const content = await getInlineSelectionText(page); > 376 | expect(content).toBe('useuse'); | ^ 377 | 378 | await assertRichTextInlineRange(page, 0, 3, 0); 379 | }); at /home/runner/work/blocksuite/blocksuite/tests/code.spec.ts:376:19
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#L21
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: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: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/edgeless.ts#L911
2) edgeless/group.spec.ts:479:5 › group › group title › blur unmount group editor ──────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('edgeless-component-toolbar').locator('edgeless-add-group-button') at utils/actions/edgeless.ts:911 909 | 'edgeless-add-group-button' 910 | ); > 911 | await button.click(); | ^ 912 | break; 913 | } 914 | case 'ungroup': { at triggerComponentToolbarAction (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:911:20) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:455:13
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/note.spec.ts:730:1 › continuous undo and redo (note block add operation) should work: tests/utils/actions/misc.ts#L290
4) edgeless/note.spec.ts:730:1 › continuous undo and redo (note block add operation) should work ─ 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:11076:66) + at host.handleEvent.global (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/page-block/edgeless/controllers/clipboard.ts:10904:14) + at UIEventDispatcher.run (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/framework/block-std/src/event/dispatcher.ts:2934: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:290 288 | expect 289 | .soft('Unexpected console message: ' + message.text()) > 290 | .toBe( | ^ 291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 292 | ); 293 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
edgeless/note.spec.ts:730:1 › continuous undo and redo (note block add operation) should work: tests/edgeless/note.spec.ts#L757
4) edgeless/note.spec.ts:730:1 › continuous undo and redo (note block add operation) should work ─ Error: expect(received).toBe(expected) // Object.is equality Expected: 4 Received: 3 755 | 756 | count = await countBlock(page, 'affine-note'); > 757 | expect(count).toBe(4); | ^ 758 | 759 | await undoByClick(page); 760 | count = await countBlock(page, 'affine-note'); at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:757:17
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/drag.ts#L21
1) edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new 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 optionMouseDrag (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:691:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:128: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:153: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
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/.
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/.
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/.
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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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, codecov/codecov-action@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 (23.4s)
🎭 Playwright Run Summary
2 skipped 63 passed (3.0m)
🎭 Playwright Run Summary
1 flaky linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page ────────────────── 1 skipped 63 passed (3.1m)
🎭 Playwright Run Summary
1 flaky paragraph.spec.ts:1475:1 › delete empty text paragraph block should keep children blocks when following custom blocks 1 skipped 63 passed (3.3m)
🎭 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
3 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:1543:1 › can extend format bar ────────────────────────────────────────────── 1 skipped 61 passed (3.6m)
🎭 Playwright Run Summary
6 flaky attachment.spec.ts:122:1 › can insert attachment from slash menu ─────────────────────────────── attachment.spec.ts:172:1 › should undo/redo works for attachment ─────────────────────────────── attachment.spec.ts:279:1 › should rename attachment works ────────────────────────────────────── bookmark.spec.ts:193:1 › copy url to create bookmark in page mode ────────────────────────────── bookmark.spec.ts:245:1 › copy url to create bookmark in edgeless mode ────────────────────────── bookmark.spec.ts:304:1 › support dragging bookmark block directly ────────────────────────────── 16 skipped 44 passed (3.6m)
🎭 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.3m)
🎭 Playwright Run Summary
5 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 ────────────────────────────── clipboard.spec.ts:1082:1 › copy and paste to selection block selection ───────────────────────── code.spec.ts:362:1 › keyboard selection and copy paste ───────────────────────────────────────── 8 skipped 53 passed (3.3m)
🎭 Playwright Run Summary
4 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 ──────────────── edgeless/note.spec.ts:730:1 › continuous undo and redo (note block add operation) should work ── 61 passed (4.4m)
🎭 Playwright Run Summary
3 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 3 skipped 60 passed (4.6m)