Skip to content

fix(edgeless): connector clone #7654

fix(edgeless): connector clone

fix(edgeless): connector clone #7654

Triggered via pull request November 14, 2024 03:19
Status Success
Total duration 13m 32s
Artifacts

test.yml

on: pull_request
Install Dependencies
1m 9s
Install Dependencies
Matrix: E2E Test
Matrix: Unit Test
Build & Test
0s
Build & Test
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 20 warnings, and 20 notices
paragraph.spec.ts:228:1 › insert new paragraph block by enter: tests/utils/asserts.ts#L209
1) paragraph.spec.ts:228:1 › insert new paragraph block by enter ───────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Array [ "", - "", - "", + " + ", ] at utils/asserts.ts:209 207 | }); 208 | }, currentEditorIndex); > 209 | expect(actualTexts).toEqual(texts); | ^ 210 | } 211 | 212 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:209:23) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:234:3
attachment.spec.ts:636:1 › cancel file picker with input element resolves: tests/attachment.spec.ts#L656
1) attachment.spec.ts:636:1 › cancel file picker with input element resolves ───────────────────── TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser" =========================== logs =========================== waiting for event "filechooser" ============================================================ 654 | await expect(slashMenu).toBeVisible(); 655 | > 656 | const fileChooser = page.waitForEvent('filechooser'); | ^ 657 | await pressEnter(page); 658 | const inputFile = page.locator("input[type='file']"); 659 | await expect(inputFile).toHaveCount(1); at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:656:28
edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block: tests/edgeless/paste-block.spec.ts#L62
1) edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ───────────────────── Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first() - Expected string - 1 + Received string + 21 - hello + + + + + ​ + + + Type '/' for commands + + + + + + + + + + + + + Call log: - expect.toContainText with timeout 5000ms - waiting for locator('affine-edgeless-note[data-block-id="10"]').locator('[data-block-id]').first() - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id="11">…</affine-paragraph> - unexpected value " ​ Type '/' for commands " - locator resolved to <affine-paragraph data-block-id=
edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing: tests/utils/actions/edgeless.ts#L357
1) edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ───────────────────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('edgeless-slide-menu edgeless-tool-icon-button').filter({ hasText: 'Square' }) - locator resolved to <edgeless-tool-icon-button role="button">…</edgeless-tool-icon-button> - attempting click action - waiting for element to be visible, enabled and stable - element is not stable - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not stable - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying at utils/actions/edgeless.ts:357 355 | .locator('edgeless-slide-menu edgeless-tool-icon-button') 356 | .filter({ hasText: shape }); > 357 | await squareShapeButton.click(); | ^ 358 | break; 359 | } 360 | } at setEdgelessTool (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:357:31) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shortcut.spec.ts:137:3
format-bar.spec.ts:239:1 › should format quick bar be able to change background color: tests/format-bar.spec.ts#L277
1) format-bar.spec.ts:239: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 <editor-menu-action role="button" data-testid="unset">…</editor-menu-action> - 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 - <div class="affine-page-root-block-container">…</div> intercepts pointer events - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not visible - retrying click action, attempt #13 - waiting 500ms 275 | 276 | await expect(highlight.defaultColorBtn).toBeVisible(); > 277 | await highlight.defaultColorBtn.click(); | ^ 278 | 279 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( 280 | `${testInfo.title}_default_color.json` at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:277:35
edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes: tests/edgeless/note/drag-handle.spec.ts#L141
1) edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes ─────── Error: Timed out 5000ms waiting for expect(locator).toBeHidden() Locator: locator('.affine-drag-handle-container') Expected: hidden Received: visible Call log: - expect.toBeHidden with timeout 5000ms - waiting for locator('.affine-drag-handle-container') - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" - locator resolved to <div draggable="true" class="affine-drag-handle-container">…</div> - unexpected value "visible" 139 | await page.mouse.dblclick(CENTER_X, CENTER_Y - 20); 140 | await dragHandleFromBlockToBlockBottomById(page, '3', '7'); > 141 | await expect(page.locator('.affine-drag-handle-container')).toBeHidden(); | ^ 142 | await waitNextFrame(page); 143 | await assertRichTexts(page, ['456', '789', '000', '123']); 144 | at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note/drag-handle.spec.ts:141:63
E2E Test (16)
RPC failed; HTTP 504 curl 22 The requested URL returned error: 504
E2E Test (16)
expected 'packfile'
E2E Test (20)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (17)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (2)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (14)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (18)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (1)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (4)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (19)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (3)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (10)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (15)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (12)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (5)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (13)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (6)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (7)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (11)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (9)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (8)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
E2E Test (16)
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
🎭 Playwright Run Summary
3 skipped 44 passed (43.6s)
🎭 Playwright Run Summary
1 flaky paragraph.spec.ts:228:1 › insert new paragraph block by enter ────────────────────────────────── 46 passed (47.3s)
🎭 Playwright Run Summary
1 skipped 47 passed (43.1s)
🎭 Playwright Run Summary
47 passed (57.1s)
🎭 Playwright Run Summary
47 passed (56.3s)
🎭 Playwright Run Summary
1 flaky attachment.spec.ts:636:1 › cancel file picker with input element resolves ────────────────────── 2 skipped 45 passed (56.3s)
🎭 Playwright Run Summary
47 passed (58.1s)
🎭 Playwright Run Summary
47 passed (54.6s)
🎭 Playwright Run Summary
4 skipped 44 passed (54.7s)
🎭 Playwright Run Summary
1 flaky edgeless/paste-block.spec.ts:39:3 › pasting blocks › pasting a note block ────────────────────── 1 skipped 45 passed (1.1m)
🎭 Playwright Run Summary
1 skipped 46 passed (57.3s)
🎭 Playwright Run Summary
1 flaky edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ────────────────────────── 2 skipped 44 passed (1.2m)
🎭 Playwright Run Summary
6 skipped 41 passed (1.4m)
🎭 Playwright Run Summary
1 flaky format-bar.spec.ts:239:1 › should format quick bar be able to change background color ────────── 46 passed (1.2m)
🎭 Playwright Run Summary
47 passed (1.3m)
🎭 Playwright Run Summary
1 skipped 46 passed (1.6m)
🎭 Playwright Run Summary
1 skipped 46 passed (1.6m)
🎭 Playwright Run Summary
1 flaky edgeless/note/drag-handle.spec.ts:122:1 › drag handle should work across multiple notes ──────── 10 skipped 36 passed (1.5m)
🎭 Playwright Run Summary
47 passed (1.7m)
🎭 Playwright Run Summary
1 skipped 46 passed (47.2s)