Skip to content

fix(edgeless): redo for reordering (#6315) #162

fix(edgeless): redo for reordering (#6315)

fix(edgeless): redo for reordering (#6315) #162

Triggered via push February 28, 2024 07:58
Status Success
Total duration 5m 46s
Artifacts

test.yaml

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

Annotations

37 errors, 14 warnings, and 11 notices
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 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.
attachment.spec.ts:318:1 › should turn attachment to image works: tests/utils/asserts.ts#L228
2) attachment.spec.ts:318:1 › should turn attachment to image works ────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 1 Received: 0 at utils/asserts.ts:228 226 | const editor = getEditorLocator(page); 227 | const actual = await editor.locator('.resizable-img').count(); > 228 | expect(actual).toEqual(count); | ^ 229 | } 230 | 231 | export async function assertDivider(page: Page, count: number) { at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:228:18) at turnToEmbed (/home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:95:7) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:329:3
basic.spec.ts:349:1 › should undo/redo cursor works on title: tests/utils/asserts.ts#L149
3) basic.spec.ts:349:1 › should undo/redo cursor works on title ────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "title2" Received: "title" at utils/asserts.ts:149 147 | const inlineEditor = editor.locator('.doc-title-container').first(); 148 | const vText = inlineEditorInnerTextToString(await inlineEditor.innerText()); > 149 | expect(vText).toBe(text); | ^ 150 | } 151 | 152 | export async function assertInlineEditorDeltas( at assertTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:149:17) at /home/runner/work/blocksuite/blocksuite/tests/basic.spec.ts:369:3
bookmark.spec.ts:304:1 › support dragging bookmark block directly: tests/utils/actions/misc.ts#L289
4) bookmark.spec.ts:304:1 › support dragging bookmark block directly ───────────────────────────── 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:289 287 | expect 288 | .soft('Unexpected console message: ' + message.text()) > 289 | .toBe( | ^ 290 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 291 | ); 292 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:289:10)
selection/native.spec.ts:65:1 › click on blank area: tests/utils/asserts.ts#L312
1) selection/native.spec.ts:65:1 › click on blank area ─────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "index": 0, - "length": 0, + "length": 3, } at utils/asserts.ts:312 310 | [richTextIndex, currentEditorIndex] 311 | ); > 312 | expect(actual).toEqual({ index: rangeIndex, length: rangeLength }); | ^ 313 | } 314 | 315 | export async function assertNativeSelectionRangeCount( at assertRichTextInlineRange (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:312:18) at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:79:3
selection/native.spec.ts:434:1 › cursor move to up and down with children block: tests/selection/native.spec.ts#L463
2) selection/native.spec.ts:434:1 › cursor move to up and down with children block ─────────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 12 Received: 0 461 | const textTwo = await getInlineSelectionText(page); 462 | expect(textTwo).toBe('arrow down test 1'); > 463 | expect(indexTwo).toBeGreaterThanOrEqual(12); | ^ 464 | expect(indexTwo).toBeLessThanOrEqual(17); 465 | await page.keyboard.press('ArrowDown'); 466 | const textThree = await getInlineSelectionText(page); at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:463:20
clipboard.spec.ts:917:1 › should copy and paste of database work: tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:917: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:1016:1 › copy canvas element and text note in edgeless mode: tests/clipboard.spec.ts#L1
2) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ───────────────── Test timeout of 30000ms exceeded.
clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode: tests/utils/actions/edgeless.ts#L274
2) clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ───────────────── 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 - performing click action 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/clipboard.spec.ts:1021:3
clipboard.spec.ts:1036:1 › copy when text note active in edgeless: tests/clipboard.spec.ts#L1
3) clipboard.spec.ts:1036:1 › copy when text note active in edgeless ───────────────────────────── 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.
linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works: tests/linked-page.spec.ts#L1
1) linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works ─────────────────── Test timeout of 30000ms exceeded.
linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works: tests/utils/actions/misc.ts#L1156
1) linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works ─────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('editor-host').first().locator('affine-page-root').first() - locator resolved to <affine-page-root data-block-id="4" contenteditable="true">…</affine-page-root> - attempting click action - waiting for element to be visible, enabled and stable - forcing action - element is visible, enabled and stable - scrolling into view if needed at utils/actions/misc.ts:1156 1154 | const locator = editor.locator('affine-page-root').first(); 1155 | // need to set `force` to true when clicking on `affine-selected-blocks` > 1156 | await locator.click({ force: true }); | ^ 1157 | // avoid trigger double click 1158 | await page.waitForTimeout(500); 1159 | await page.evaluate(i => { at focusTitle (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:1156:17) at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:673:5
linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page: tests/linked-page.spec.ts#L1
2) linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page ───────────────── Test timeout of 30000ms exceeded.
linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page: tests/utils/actions/keyboard.ts#L27
2) linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page ───────────────── Error: keyboard.type: Test timeout of 30000ms exceeded. at utils/actions/keyboard.ts:27 25 | 26 | export async function type(page: Page, content: string, delay = 20) { > 27 | await page.keyboard.type(content, { delay }); | ^ 28 | } 29 | 30 | export async function withPressKey( at type (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/keyboard.ts:27:23) at /home/runner/work/blocksuite/blocksuite/tests/linked-page.spec.ts:880:9
fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames: tests/fragments/frame-panel.spec.ts#L1
1) fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames Test timeout of 30000ms exceeded.
fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames: tests/utils/actions/edgeless.ts#L379
1) fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames Error: mouse.click: Test timeout of 30000ms exceeded. at utils/actions/edgeless.ts:379 377 | export async function addNote(page: Page, text: string, x: number, y: number) { 378 | await setEdgelessTool(page, 'note'); > 379 | await page.mouse.click(x, y); | ^ 380 | await waitNextFrame(page); 381 | 382 | const paragraphs = text.split('\n'); at addNote (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:379:20) at /home/runner/work/blocksuite/blocksuite/tests/fragments/frame-panel.spec.ts:40:5
hotkey.spec.ts:1004:1 › should cut work single line: tests/utils/asserts.ts#L632
2) hotkey.spec.ts:1004:1 › should cut work single line ─────────────────────────────────────────── Error: <affine:note prop:background="--affine-background-secondary-color" prop:displayMode="both" prop:edgeless={ Object { "style": Object { "borderRadius": 8, "borderSize": 4, "borderStyle": "solid", "shadowType": "--affine-note-shadow-box", }, } } prop:hidden={false} prop:index="a0" > <affine:paragraph prop:text="hello" prop:type="text" /> </affine:note> expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 @@ -13,9 +13,9 @@ } prop:hidden={false} prop:index="a0" > <affine:paragraph - prop:text="ho" + prop:text="hello" prop:type="text" /> </affine:note> at utils/asserts.ts:632 630 | printFunctionName: false, 631 | }); > 632 | expect(formattedJSX, formattedJSX).toEqual(snapshot.trimStart()); | ^ 633 | } 634 | 635 | type MimeType = 'text/plain' | 'blocksuite/x-c+w' | 'text/html'; at assertStoreMatchJSX (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:632:38) at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1013:3
hotkey.spec.ts:1145:1 › should ctrl+enter create new block: tests/utils/asserts.ts#L207
3) hotkey.spec.ts:1145:1 › should ctrl+enter create new block ──────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Array [ - "1", - "23", + "12", + "3", ] at utils/asserts.ts:207 205 | }); 206 | }, currentEditorIndex); > 207 | expect(actualTexts).toEqual(texts); | ^ 208 | } 209 | 210 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:207:23) at /home/runner/work/blocksuite/blocksuite/tests/hotkey.spec.ts:1155:3
image.spec.ts:103:1 › can click and copy image: tests/utils/asserts.ts#L228
4) 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:228 226 | const editor = getEditorLocator(page); 227 | const actual = await editor.locator('.resizable-img').count(); > 228 | expect(actual).toEqual(count); | ^ 229 | } 230 | 231 | export async function assertDivider(page: Page, count: number) { at assertRichImage (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:228: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
5) 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
database/column.spec.ts:438:3 › select column tag action › should support select tag deletion: tests/database/column.spec.ts#L1
1) database/column.spec.ts:438:3 › select column tag action › should support select tag deletion ─ 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.
database/database.spec.ts:53:1 › edit database block title and create new rows: tests/database/database.spec.ts#L1
2) database/database.spec.ts:53:1 › edit database block title and create new rows ──────────────── 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#L207
3) 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:207 205 | }); 206 | }, currentEditorIndex); > 207 | expect(actualTexts).toEqual(texts); | ^ 208 | } 209 | 210 | export async function assertEdgelessCanvasText(page: Page, text: string) { at assertRichTexts (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:207:23) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/auto-complete.spec.ts:128:7
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#L187
4) edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown Error: expect.toBeVisible: Error: strict mode violation: locator('.affine-tooltip') resolved to 2 elements: 1) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'Select V' }) 2) <div role="tooltip" class="affine-tooltip">…</div> aka getByRole('tooltip', { name: 'More' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.affine-tooltip') 185 | 186 | await page.mouse.move(moreButtonBox.x + 10, moreButtonBox.y + 10); > 187 | await expect(tooltip).toBeVisible(); | ^ 188 | 189 | await page.mouse.click(moreButtonBox.x + 10, moreButtonBox.y + 10); 190 | await expect(tooltip).toBeHidden(); at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:187:25
edgeless/shape.spec.ts:45:3 › add shape › without holding shift key: tests/edgeless/shape.spec.ts#L1
1) edgeless/shape.spec.ts:45:3 › add shape › without holding shift key ─────────────────────────── Test timeout of 30000ms exceeded.
edgeless/shape.spec.ts:45:3 › add shape › without holding shift key: tests/utils/actions/drag.ts#L21
1) edgeless/shape.spec.ts:45:3 › add shape › without 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:355:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:59:5
edgeless/shape.spec.ts:65:3 › add shape › with holding shift key: tests/edgeless/shape.spec.ts#L1
2) 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/edgeless.ts#L274
2) edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ────────────────────────────── 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 addBasicRectShapeElement (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:354:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/shape.spec.ts:85:5
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
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size: tests/edgeless/note.spec.ts#L1
1) edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ────────────────────── Test timeout of 30000ms exceeded.
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size: tests/utils/actions/click.ts#L43
1) edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('debug-menu').locator('sl-tooltip[content="Undo"]') - locator resolved to <sl-tooltip hoist="" content="Undo" placement="bottom">…</sl-tooltip> - attempting click action - waiting for element to be visible, enabled and stable at utils/actions/click.ts:43 41 | 42 | export async function undoByClick(page: Page) { > 43 | await getDebugMenu(page).undoBtn.click(); | ^ 44 | } 45 | 46 | export async function redoByClick(page: Page) { at undoByClick (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/click.ts:43:36) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:171:9
edgeless/note.spec.ts:128:1 › resize note then auto size and custom size: tests/utils/asserts.ts#L778
1) edgeless/note.spec.ts:128: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:778 776 | expect(a.y).toBeCloseTo(b.y, 0); 777 | expect(a.w).toBeCloseTo(b.w, 0); > 778 | expect(a.h).toBeCloseTo(b.h, 0); | ^ 779 | } 780 | 781 | export function assertDOMRectEqual(a: DOMRect, b: DOMRect) { at assertRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:778:15) at assertNoteRectEqual (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:771:3) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/note.spec.ts:177:3
edgeless/basic.spec.ts:196:1 › shift click multi select and de-select: tests/edgeless/basic.spec.ts#L1
1) edgeless/basic.spec.ts:196:1 › shift click multi select and de-select ───────────────────────── Test timeout of 30000ms exceeded.
edgeless/basic.spec.ts:196:1 › shift click multi select and de-select: tests/utils/actions/drag.ts#L21
1) edgeless/basic.spec.ts:196:1 › shift click multi select and de-select ───────────────────────── 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/edgeless/basic.spec.ts:203:3
edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless: tests/edgeless/basic.spec.ts#L1
2) edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered Test timeout of 30000ms exceeded.
edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless: tests/utils/actions/edgeless.ts#L172
2) edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for locator('.toggle-button edgeless-tool-icon-button.non-actived') at utils/actions/edgeless.ts:172 170 | const isClosed = (await toggleZoomBarButton.count()) === 1; 171 | if (isClosed) { > 172 | await toggleZoomBarButton.click(); | ^ 173 | await page.waitForTimeout(200); 174 | } 175 | } at toggleZoomBarWhenSmallScreenWidth (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:172:31) at getZoomLevel (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:669:5) at assertZoomLevel (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:915:13) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/basic.spec.ts:234:3
edgeless/basic.spec.ts:237:1 › should close zoom bar when click blank area: tests/edgeless/basic.spec.ts#L1
3) edgeless/basic.spec.ts:237:1 › should close zoom bar when click blank area ──────────────────── 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.
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/.
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/.
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 (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 (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 (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 (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 (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 (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 (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 (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.7s)
🎭 Playwright Run Summary
4 flaky attachment.spec.ts:279:1 › should rename attachment works ────────────────────────────────────── attachment.spec.ts:318:1 › should turn attachment to image works ─────────────────────────────── basic.spec.ts:349:1 › should undo/redo cursor works on title ─────────────────────────────────── bookmark.spec.ts:304:1 › support dragging bookmark block directly ────────────────────────────── 16 skipped 47 passed (3.0m)
🎭 Playwright Run Summary
2 skipped 64 passed (3.1m)
🎭 Playwright Run Summary
2 flaky selection/native.spec.ts:65:1 › click on blank area ──────────────────────────────────────────── selection/native.spec.ts:434:1 › cursor move to up and down with children block ──────────────── 1 skipped 63 passed (3.3m)
🎭 Playwright Run Summary
3 flaky clipboard.spec.ts:917:1 › should copy and paste of database work ─────────────────────────────── clipboard.spec.ts:1016:1 › copy canvas element and text note in edgeless mode ────────────────── clipboard.spec.ts:1036:1 › copy when text note active in edgeless ────────────────────────────── 8 skipped 56 passed (3.2m)
🎭 Playwright Run Summary
2 flaky linked-page.spec.ts:658:3 › linked page popover › should fuzzy search works ──────────────────── linked-page.spec.ts:867:1 › should [[Selected text]] converted to linked page ────────────────── 2 skipped 63 passed (3.3m)
🎭 Playwright Run Summary
5 flaky fragments/frame-panel.spec.ts:29:3 › frame panel › should display frame cards when there are frames hotkey.spec.ts:1004:1 › should cut work single line ──────────────────────────────────────────── hotkey.spec.ts:1145:1 › should ctrl+enter create new block ───────────────────────────────────── image.spec.ts:103:1 › can click and copy image ───────────────────────────────────────────────── link.spec.ts:358:1 › convert link to card ────────────────────────────────────────────────────── 3 skipped 59 passed (3.5m)
🎭 Playwright Run Summary
4 flaky database/column.spec.ts:438:3 › select column tag action › should support select tag deletion ── database/database.spec.ts:53:1 › edit database block title and create new rows ───────────────── edgeless/auto-complete.spec.ts:112:5 › auto-complete › drag on auto-complete button › drag on right auto-complete button to add note edgeless/basic.spec.ts:164:1 › the tooltip of more button should be hidden when the action menu is shown 63 passed (3.9m)
🎭 Playwright Run Summary
3 flaky edgeless/shape.spec.ts:45:3 › add shape › without holding shift key ──────────────────────────── edgeless/shape.spec.ts:65:3 › add shape › with holding shift key ─────────────────────────────── format-bar.spec.ts:1543:1 › can extend format bar ────────────────────────────────────────────── 1 skipped 63 passed (3.9m)
🎭 Playwright Run Summary
1 flaky edgeless/note.spec.ts:128:1 › resize note then auto size and custom size ─────────────────────── 66 passed (4.1m)
🎭 Playwright Run Summary
3 flaky edgeless/basic.spec.ts:196:1 › shift click multi select and de-select ────────────────────────── edgeless/basic.spec.ts:218:1 › Before and after switching to Edgeless, the previous zoom ratio and position when Edgeless was opened should be remembered edgeless/basic.spec.ts:237:1 › should close zoom bar when click blank area ───────────────────── 3 skipped 61 passed (4.6m)