Skip to content

refactor: support multiple-editors #15053

refactor: support multiple-editors

refactor: support multiple-editors #15053

Triggered via pull request December 28, 2023 21:16
Status Success
Total duration 5m 41s
Artifacts

test.yaml

on: pull_request
Node.js Environment Compatibility
47s
Node.js Environment Compatibility
Unit test
1m 15s
Unit test
Integration test
31s
Integration test
Inline Editor E2E test
53s
Inline Editor E2E test
Matrix: Playground E2E test
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 11 notices
attachment.spec.ts:261:1 › should rename attachment works: tests/attachment.spec.ts#L1
1) attachment.spec.ts:261:1 › should rename attachment works ───────────────────────────────────── Test timeout of 30000ms exceeded.
attachment.spec.ts:261:1 › should rename attachment works: tests/utils/actions/keyboard.ts#L27
1) attachment.spec.ts:261: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 = 50) { > 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:98:13) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:292:3
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode: tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ───────────────── Test timeout of 30000ms exceeded.
selection/native.spec.ts:928:1 › Delete the blank line between two dividers: tests/utils/asserts.ts#L222
1) selection/native.spec.ts:928:1 › Delete the blank line between two dividers ─────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 2 Received: 1 at utils/asserts.ts:222 220 | export async function assertDivider(page: Page, count: number) { 221 | const actual = await page.locator('affine-divider').count(); > 222 | expect(actual).toEqual(count); | ^ 223 | } 224 | 225 | export async function assertRichDragButton(page: Page) { at assertDivider (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:222:18) at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:941:3
hotkey.spec.ts:131:1 › multi line rich-text inline code hotkey: tests/hotkey.spec.ts#L1
1) hotkey.spec.ts:131:1 › multi line rich-text inline code hotkey ──────────────────────────────── 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.
hotkey.spec.ts:986:1 › should cut work single line: tests/utils/asserts.ts#L621
2) hotkey.spec.ts:986:1 › should cut work single line ──────────────────────────────────────────── Error: <affine:note prop:background="--affine-background-secondary-color" 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 @@ -12,9 +12,9 @@ } prop:hidden={false} prop:index="a0" > <affine:paragraph - prop:text="ho" + prop:text="hello" prop:type="text" /> </affine:note> at utils/asserts.ts:621 619 | printFunctionName: false, 620 | }); > 621 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart()); | ^ 622 | } 623 | 624 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html'; at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:621:38) at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:995:3
list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list: tests/utils/asserts.ts#L621
1) list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list ──────────────────── Error: <affine:note prop:background="--affine-background-secondary-color" prop:edgeless={ Object { "style": Object { "borderRadius": 8, "borderSize": 4, "borderStyle": "solid", "shadowType": "--affine-note-shadow-box", }, } } prop:hidden={false} prop:index="a0" > <affine:list prop:checked={false} prop:collapsed={false} prop:text="23" prop:type="bulleted" /> <affine:list prop:checked={false} prop:collapsed={true} prop:text="456" prop:type="bulleted" > <affine:list prop:checked={false} prop:collapsed={false} prop:text="789" prop:type="bulleted" /> </affine:list> </affine:note> expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -14,11 +14,11 @@ prop:index="a0" > <affine:list prop:checked={false} prop:collapsed={false} - prop:text="123" + prop:text="23" prop:type="bulleted" /> <affine:list prop:checked={false} prop:collapsed={true} at utils/asserts.ts:621 619 | printFunctionName: false, 620 | }); > 621 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart()); | ^ 622 | } 623 | 624 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html'; at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:621:38) at /home/runner/work/blocksuite/blocksuite/tests/list.spec.ts:733:5
paragraph.spec.ts:1168:1 › handling keyup when cursor located in first paragraph: tests/utils/asserts.ts#L250
2) paragraph.spec.ts:1168:1 › handling keyup when cursor located in first paragraph ────────────── Error: Timed out 5000ms waiting for expect(locator).toBeFocused() Locator: locator('doc-title .inline-editor').first() Expected: focused Received: inactive Call log: - expect.toBeFocused with timeout 5000ms - waiting for locator('doc-title .inline-editor').first() - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" - locator resolved to <div data-v-root="true" contenteditable="true" class=…>…</div> - unexpected value "not focused" at utils/asserts.ts:250 248 | export async function assertPageTitleFocus(page: Page) { 249 | const locator = page.locator('doc-title .inline-editor').nth(0); > 250 | await expect(locator).toBeFocused(); | ^ 251 | } 252 | 253 | export async function assertListPrefix( at assertPageTitleFocus (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:250:25) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1182:9
edgeless/auto-complete.spec.ts:111:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note: tests/utils/asserts.ts#L196
1) edgeless/auto-complete.spec.ts:111: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", + "o", ] at utils/asserts.ts:196 194 | }); 195 | }, currentEditorIndex); > 196 | expect(actualTexts).toEqual(texts); | ^ 197 | } 198 | 199 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:127:7
paragraph.spec.ts:1585:1 › paragraph indent and delete in line start: tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1585:1 › paragraph indent and delete in line start ────────────────────────── 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.
selection/block.spec.ts:136:1 › click the list icon can select and copy: tests/utils/asserts.ts#L196
2) selection/block.spec.ts:136:1 › click the list icon can select and copy ─────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ - "123", + "23", "456", "789", ] at utils/asserts.ts:196 194 | }); 195 | }, currentEditorIndex); > 196 | expect(actualTexts).toEqual(texts); | ^ 197 | } 198 | 199 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23) at /home/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:140:3
selection/block.spec.ts:136:1 › click the list icon can select and copy: tests/utils/asserts.ts#L196
2) selection/block.spec.ts:136:1 › click the list icon can select and copy ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ - "123", + "23", "456", "789", ] at utils/asserts.ts:196 194 | }); 195 | }, currentEditorIndex); > 196 | expect(actualTexts).toEqual(texts); | ^ 197 | } 198 | 199 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:196:23) at /home/runner/work/blocksuite/blocksuite/tests/selection/block.spec.ts:140:3
selection/native.spec.ts:430:1 › cursor move to up and down with children block: tests/selection/native.spec.ts#L458
3) selection/native.spec.ts:430:1 › cursor move to up and down with children block ─────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "arrow down test 1" Received: "arrow down test 2" 456 | const indexTwo = await getInlineSelectionIndex(page); 457 | const textTwo = await getInlineSelectionText(page); > 458 | expect(textTwo).toBe('arrow down test 1'); | ^ 459 | expect(indexTwo).toBeGreaterThanOrEqual(12); 460 | expect(indexTwo).toBeLessThanOrEqual(17); 461 | await page.keyboard.press('ArrowDown'); at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:458:19
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key: tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ────────────────────────────── Test timeout of 30000ms exceeded.
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key: tests/utils/actions/drag.ts#L21
1) edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ────────────────────────────── 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:347:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:85:5
edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar: tests/edgeless/shape.spec.ts#L1
2) edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ─────────────────────────────── 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:309:1 › should format quick bar be able to change background color: tests/format-bar.spec.ts#L427
3) format-bar.spec.ts:309:1 › should format quick bar be able to change background color ───────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-format-bar-widget').getByTestId('unset') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.affine-format-bar-widget').getByTestId('unset') - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" - locator resolved to <icon-button width="100%" tabindex="0" height="32px" data-tes…>…</icon-button> - unexpected value "hidden" 425 | ); 426 | > 427 | await expect(highlight.defaultColorBtn).toBeVisible(); | ^ 428 | await highlight.defaultColorBtn.click(); 429 | 430 | await assertStoreMatchJSX( at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:427:43
edgeless/basic.spec.ts:67:1 › can zoom viewport: tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ─────────────────────────────────────────────── Test timeout of 30000ms exceeded.
edgeless/basic.spec.ts:67:1 › can zoom viewport: tests/utils/asserts.ts#L787
1) edgeless/basic.spec.ts:67:1 › can zoom viewport ─────────────────────────────────────────────── Error: locator.boundingBox: Test timeout of 30000ms exceeded. Call log: - waiting for locator('affine-editor-container').first().locator('edgeless-selected-rect').locator('.affine-edgeless-selected-rect') at utils/asserts.ts:787 785 | .locator('edgeless-selected-rect') 786 | .locator('.affine-edgeless-selected-rect'); > 787 | const box = await selectedRect.boundingBox(); | ^ 788 | if (!box) throw new Error('Missing edgeless selected rect'); 789 | 790 | expect(box.x).toBeCloseTo(x, 0); at assertEdgelessSelectedRect (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:787:34) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:88:9
edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element: tests/edgeless/basic.spec.ts#L1
2) 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
2) 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:657:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:128:3
edgeless/group.spec.ts:270:5 › group › release from group › release group from group: tests/edgeless/group.spec.ts#L233
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ────────── Test timeout of 30000ms exceeded while running "beforeEach" hook. 231 | 232 | test.describe('release from group', () => { > 233 | test.beforeEach(async ({ page }) => { | ^ 234 | await init(page); 235 | await createShapeElement(page, [200, 0], [300, 100], Shape.Square); 236 | await selectAllByKeyboard(page); at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:233:10
edgeless/group.spec.ts:270:5 › group › release from group › release group from group: tests/utils/actions/edgeless.ts#L266
1) edgeless/group.spec.ts:270:5 › group › release from group › release group from group ────────── 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 - done scrolling at utils/actions/edgeless.ts:266 264 | .locator('edgeless-tool-icon-button') 265 | .filter({ hasText: shape }); > 266 | await squareShapeButton.click(); | ^ 267 | break; 268 | } 269 | } at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:266:31) at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:356:3) at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1229:3) at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:234:7
edgeless/group.spec.ts:327:5 › group › delete › delete root group: tests/edgeless/group.spec.ts#L323
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ───────────────────────────── Test timeout of 30000ms exceeded while running "beforeEach" hook. 321 | 322 | test.describe('delete', () => { > 323 | test.beforeEach(async ({ page }) => { | ^ 324 | await init(page); 325 | }); 326 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:323:10
edgeless/group.spec.ts:327:5 › group › delete › delete root group: tests/utils/actions/edgeless.ts#L261
2) edgeless/group.spec.ts:327:5 › group › delete › delete root group ───────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('edgeless-toolbar edgeless-toolbar-button.edgeless-shape-button') - locator resolved to <edgeless-toolbar-button class="edgeless-shape-button">…</edgeless-toolbar-button> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling at utils/actions/edgeless.ts:261 259 | case 'shape': { 260 | const shapeToolButton = locatorEdgelessToolButton(page, 'shape', false); > 261 | await shapeToolButton.click(); | ^ 262 | 263 | const squareShapeButton = page 264 | .locator('edgeless-tool-icon-button') at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:261:29) at addBasicShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:356:9) at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1229:9) at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:324:7
edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group: tests/edgeless/group.spec.ts#L323
3) edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group ─────────────────── Test timeout of 30000ms exceeded while running "beforeEach" hook. 321 | 322 | test.describe('delete', () => { > 323 | test.beforeEach(async ({ page }) => { | ^ 324 | await init(page); 325 | }); 326 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:323:10
edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group: tests/utils/actions/drag.ts#L21
3) edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group ─────────────────── 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:357:3) at createShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1229:3) at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:43:5) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:324:7
edgeless/group.spec.ts:452:5 › group › clipboard › copy and paste group: tests/utils/actions/misc.ts#L248
4) edgeless/group.spec.ts:452:5 › group › clipboard › copy and paste group ─────────────────────── 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/global/src/utils/assert.ts:1309:11) + at Clipboard.readFromClipboard (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/block-std/src/clipboard/index.ts:2565:5) + at EdgelessClipboardController._onPaste (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/page-block/edgeless/controllers/clipboard.ts:8587:66) + at host.handleEvent.global (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/blocks/src/page-block/edgeless/controllers/clipboard.ts:8444:14) + at UIEventDispatcher.run (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/block-std/src/event/dispatcher.ts:2768:49) + at ClipboardControl._paste (http://localhost:5173/@fs/home/runner/work/blocksuite/blocksuite/packages/block-std/src/event/control/clipboard.ts:571:24) at utils/actions/misc.ts:248 246 | expect 247 | .soft('Unexpected console message: ' + message.text()) > 248 | .toBe( | ^ 249 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 250 | ); 251 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:248:10)
edgeless/group.spec.ts:452:5 › group › clipboard › copy and paste group: tests/utils/asserts.ts#L923
4) edgeless/group.spec.ts:452:5 › group › clipboard › copy and paste group ─────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 3 + Received + 0 Array [ "tImG8X_yBi", "tImG8X_yBi", "GROUP_ROOT", - undefined, - undefined, - "GROUP_ROOT", ] at utils/asserts.ts:923 921 | export async function assertGroupIds(page: Page, expected: string[]) { 922 | const ids = await getGroupIds(page); > 923 | expect(ids).toEqual(expected); | ^ 924 | } 925 | 926 | export async function assertSortedIds(page: Page, expected: string[]) { at assertGroupIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:923:15) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:465:7
edgeless/note.spec.ts:127:1 › resize note then auto size and custom size: tests/utils/asserts.ts#L771
5) edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ────────────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 91 Received: 95 Expected precision: 0 Expected difference: < 0.5 Received difference: 4 at utils/asserts.ts:771 769 | expect(a.y).toBeCloseTo(b.y, 0); 770 | expect(a.w).toBeCloseTo(b.w, 0); > 771 | expect(a.h).toBeCloseTo(b.h, 0); | ^ 772 | } 773 | 774 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) { at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:15) at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:764:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:172:3
edgeless/note.spec.ts:127:1 › resize note then auto size and custom size: tests/utils/asserts.ts#L771
5) edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 191 Received: 91 Expected precision: 0 Expected difference: < 0.5 Received difference: 100 at utils/asserts.ts:771 769 | expect(a.y).toBeCloseTo(b.y, 0); 770 | expect(a.w).toBeCloseTo(b.w, 0); > 771 | expect(a.h).toBeCloseTo(b.h, 0); | ^ 772 | } 773 | 774 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) { at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:15) at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:764:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:176:3
🎭 Playwright Run Summary
12 passed (22.7s)
🎭 Playwright Run Summary
1 flaky attachment.spec.ts:261:1 › should rename attachment works ────────────────────────────────────── 16 skipped 48 passed (2.7m)
🎭 Playwright Run Summary
1 flaky clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ────────────────── 7 skipped 56 passed (2.8m)
🎭 Playwright Run Summary
1 flaky selection/native.spec.ts:928:1 › Delete the blank line between two dividers ──────────────────── 2 skipped 61 passed (3.0m)
🎭 Playwright Run Summary
2 flaky hotkey.spec.ts:131:1 › multi line rich-text inline code hotkey ───────────────────────────────── hotkey.spec.ts:986:1 › should cut work single line ───────────────────────────────────────────── 5 skipped 57 passed (3.1m)
🎭 Playwright Run Summary
2 flaky list.spec.ts:719:3 › toggle list › click toggle icon should collapsed list ───────────────────── paragraph.spec.ts:1168:1 › handling keyup when cursor located in first paragraph ─────────────── 62 passed (3.1m)
🎭 Playwright Run Summary
1 flaky edgeless/auto-complete.spec.ts:111:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note 63 passed (3.3m)
🎭 Playwright Run Summary
3 flaky paragraph.spec.ts:1585:1 › paragraph indent and delete in line start ─────────────────────────── selection/block.spec.ts:136:1 › click the list icon can select and copy ──────────────────────── selection/native.spec.ts:430:1 › cursor move to up and down with children block ──────────────── 1 skipped 60 passed (3.6m)
🎭 Playwright Run Summary
3 flaky edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ─────────────────────────────── edgeless/shape.spec.ts:92:1 › delete shape by component-toolbar ──────────────────────────────── format-bar.spec.ts:309:1 › should format quick bar be able to change background color ────────── 1 skipped 60 passed (3.7m)
🎭 Playwright Run Summary
2 flaky edgeless/basic.spec.ts:67:1 › can zoom viewport ──────────────────────────────────────────────── edgeless/basic.spec.ts:118:1 › option/alt mouse drag duplicate a new element ─────────────────── 3 skipped 59 passed (4.2m)
🎭 Playwright Run Summary
5 flaky edgeless/group.spec.ts:270:5 › group › release from group › release group from group ─────────── edgeless/group.spec.ts:327:5 › group › delete › delete root group ────────────────────────────── edgeless/group.spec.ts:344:5 › group › delete › delete sub-element in group ──────────────────── edgeless/group.spec.ts:452:5 › group › clipboard › copy and paste group ──────────────────────── edgeless/note.spec.ts:127:1 › resize note then auto size and custom size ─────────────────────── 59 passed (4.6m)