Skip to content

refactor(database): column move #7674

refactor(database): column move

refactor(database): column move #7674

Triggered via pull request November 15, 2024 06:30
Status Failure
Total duration 4m 32s
Artifacts 2

test.yml

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

Annotations

28 errors, 18 warnings, and 20 notices
Build: packages/affine/data-view/src/view-presets/table/group.ts#L170
Property 'column' does not exist on type 'Element'.
Build
Process completed with exit code 2.
slash-menu.spec.ts:376:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow: tests/slash-menu.spec.ts#L399
1) slash-menu.spec.ts:376:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected) Locator: locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4) Expected string: "true" Received string: "false" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('.slash-menu[data-testid=sub-menu-0]').locator('icon-button').nth(4) - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" - locator resolved to <icon-button width="100%" tabindex="0" height="44px" hover="false" role="button" text="Other Headings" data-test-disabled="false" data-testid="Other Headings" class="slash-menu-item other-headings">…</icon-button> - unexpected value "false" 397 | await type(page, '/'); 398 | await pressArrowDown(page, 4); > 399 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true'); | ^ 400 | await expect(slashItems.nth(4).locator('.text')).toHaveText([ 401 | 'Other Headings', 402 | ]); at /home/runner/work/blocksuite/blocksuite/tests/slash-menu.spec.ts:399:37
hotkey/multiline.spec.ts:100:1 › should cut work multiple line: tests/hotkey/multiline.spec.ts#L110
1) hotkey/multiline.spec.ts:100:1 › should cut work multiple line ──────────────────────────────── Error: Snapshot comparison failed: { "type": "block", "id": "0", "flavour": "affine:page", "version": 2, "props": { "title": { "$blocksuite:internal:text$": true, "delta": [] } }, "children": [ { "type": "block", "id": "1", "flavour": "affine:note", "version": 1, "props": { "xywh": "[0,0,498,92]", "background": "--affine-note-background-white", "index": "a0", "hidden": false, "displayMode": "both", "edgeless": { "style": { "borderRadius": 8, "borderSize": 4, "borderStyle": "none", "shadowType": "--affine-note-shadow-box" } } }, "children": [ { "type": "block", "id": "2", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [ { "insert": "123" } ] } }, "children": [] }, { "type": "block", "id": "3", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [ { "insert": "456" } ] } }, "children": [] }, { "type": "block", "id": "4", "flavour": "affine:paragraph", "version": 1, "props": { "type": "text", "text": { "$blocksuite:internal:text$": true, "delta": [ { "insert": "789" } ] } }, "children": [] } ] } ] } Expected: /home/runner/work/blocksuite/blocksuite/tests/snapshots/hotkey/multiline.spec.ts/should-cut-work-multiple-line-init.json Received: /home/runner/work/blocksuite/blocksuite/tests/test-results/hotkey-multiline-should-cut-work-multiple-line/should-cut-work-multiple-line-init-actual.json 108 | // cut 109 | await page.keyboard.press(`${SHORT_KEY}+x`); > 110 | expect(await getPageSnapshot(page, true)).toMatchSnapshot( | ^ 111 | `${testInfo.title}_init.json` 112 | ); 113 | await undoByKeyboard(page); at /home/runner/work/blocksuite/blocksuite/tests/hotkey/multiline.spec.ts:110:45
selection/native.spec.ts:265:1 › cursor move to up and down with children block: tests/selection/native.spec.ts#L294
1) selection/native.spec.ts:265:1 › cursor move to up and down with children block ─────────────── Error: expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 12 Received: -1 292 | const textTwo = await getInlineSelectionText(page); 293 | expect(textTwo).toBe('arrow down test 1'); > 294 | expect(indexTwo).toBeGreaterThanOrEqual(12); | ^ 295 | expect(indexTwo).toBeLessThanOrEqual(17); 296 | await page.keyboard.press('ArrowDown'); 297 | const textThree = await getInlineSelectionText(page); at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:294:20
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 not visible - 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/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 is not stable - retrying click action, attempt #3 - waiting 100ms - 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
database/column.spec.ts:82:3 › column operations › should support right insert column: tests/utils/actions/misc.ts#L710
1) database/column.spec.ts:82:3 › column operations › should support right insert column ───────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "1", - "2", + "Column 1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:95:5
database/column.spec.ts:82:3 › column operations › should support right insert column: tests/utils/actions/misc.ts#L710
1) database/column.spec.ts:82:3 › column operations › should support right insert column ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "1", - "2", + "Column 1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:95:5
database/column.spec.ts:82:3 › column operations › should support right insert column: tests/utils/actions/misc.ts#L710
1) database/column.spec.ts:82:3 › column operations › should support right insert column ───────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "1", - "2", + "Column 1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:95:5
database/column.spec.ts:82:3 › column operations › should support right insert column: tests/utils/actions/misc.ts#L710
1) database/column.spec.ts:82:3 › column operations › should support right insert column ───────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "1", - "2", + "Column 1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:95:5
database/column.spec.ts:98:3 › column operations › should support left insert column: tests/utils/actions/misc.ts#L710
2) database/column.spec.ts:98:3 › column operations › should support left insert column ────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ - "2", + "Column 1", "1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:111:5
database/column.spec.ts:98:3 › column operations › should support left insert column: tests/utils/actions/misc.ts#L710
2) database/column.spec.ts:98:3 › column operations › should support left insert column ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ - "2", + "Column 1", "1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:111:5
database/column.spec.ts:98:3 › column operations › should support left insert column: tests/utils/actions/misc.ts#L710
2) database/column.spec.ts:98:3 › column operations › should support left insert column ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ - "2", + "Column 1", "1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:111:5
database/column.spec.ts:98:3 › column operations › should support left insert column: tests/utils/actions/misc.ts#L710
2) database/column.spec.ts:98:3 › column operations › should support left insert column ────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ - "2", + "Column 1", "1", ] at utils/actions/misc.ts:710 708 | .locator('affine-database-header-column') 709 | .all(); > 710 | expect(await Promise.all(columns.slice(1).map(v => v.innerText()))).toEqual( | ^ 711 | order 712 | ); 713 | } at assertDatabaseColumnOrder (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:710:71) at /home/runner/work/blocksuite/blocksuite/tests/database/column.spec.ts:111:5
E2E Test (3)
Process completed with exit code 1.
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
database/database.spec.ts:240:1 › should support drag to change column width: tests/database/actions.ts#L187
1) database/database.spec.ts:240:1 › should support drag to change column width ────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 360 Received: 361 at database/actions.ts:187 185 | export async function assertColumnWidth(locator: Locator, width: number) { 186 | const box = await getBoundingBox(locator); > 187 | expect(box.width).toBe(width); | ^ 188 | return box; 189 | } 190 | at assertColumnWidth (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:187:21) at /home/runner/work/blocksuite/blocksuite/tests/database/database.spec.ts:268:3
database/database.spec.ts:240:1 › should support drag to change column width: tests/database/actions.ts#L187
1) database/database.spec.ts:240:1 › should support drag to change column width ────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 360 Received: 361 at database/actions.ts:187 185 | export async function assertColumnWidth(locator: Locator, width: number) { 186 | const box = await getBoundingBox(locator); > 187 | expect(box.width).toBe(width); | ^ 188 | return box; 189 | } 190 | at assertColumnWidth (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:187:21) at /home/runner/work/blocksuite/blocksuite/tests/database/database.spec.ts:268:3
database/database.spec.ts:240:1 › should support drag to change column width: tests/database/actions.ts#L187
1) database/database.spec.ts:240:1 › should support drag to change column width ────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 360 Received: 361 at database/actions.ts:187 185 | export async function assertColumnWidth(locator: Locator, width: number) { 186 | const box = await getBoundingBox(locator); > 187 | expect(box.width).toBe(width); | ^ 188 | return box; 189 | } 190 | at assertColumnWidth (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:187:21) at /home/runner/work/blocksuite/blocksuite/tests/database/database.spec.ts:268:3
database/database.spec.ts:240:1 › should support drag to change column width: tests/database/actions.ts#L187
1) database/database.spec.ts:240:1 › should support drag to change column width ────────────────── Retry #3 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 360 Received: 361 at database/actions.ts:187 185 | export async function assertColumnWidth(locator: Locator, width: number) { 186 | const box = await getBoundingBox(locator); > 187 | expect(box.width).toBe(width); | ^ 188 | return box; 189 | } 190 | at assertColumnWidth (/home/runner/work/blocksuite/blocksuite/tests/database/actions.ts:187:21) at /home/runner/work/blocksuite/blocksuite/tests/database/database.spec.ts:268:3
database/database.spec.ts:303:1 › should support drag and drop to move columns: tests/utils/actions/misc.ts#L331
2) database/database.spec.ts:303:1 › should support drag and drop to move columns ──────────────── 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: columnIndex 1" at utils/actions/misc.ts:331 329 | expect 330 | .soft('Unexpected console message: ' + message.text()) > 331 | .toBe( | ^ 332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 333 | ); 334 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
database/database.spec.ts:303:1 › should support drag and drop to move columns: tests/utils/actions/misc.ts#L331
2) database/database.spec.ts:303:1 › should support drag and drop to move columns ──────────────── 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: height 37 342 305" at utils/actions/misc.ts:331 329 | expect 330 | .soft('Unexpected console message: ' + message.text()) > 331 | .toBe( | ^ 332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 333 | ); 334 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
database/database.spec.ts:303:1 › should support drag and drop to move columns: tests/utils/actions/misc.ts#L331
2) database/database.spec.ts:303:1 › should support drag and drop to move columns ──────────────── 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: drag over column2" at utils/actions/misc.ts:331 329 | expect 330 | .soft('Unexpected console message: ' + message.text()) > 331 | .toBe( | ^ 332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 333 | ); 334 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
database/database.spec.ts:303:1 › should support drag and drop to move columns: tests/database/database.spec.ts#L329
2) database/database.spec.ts:303:1 › should support drag and drop to move columns ──────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.vertical-indicator-container').locator('.vertical-indicator-group').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.vertical-indicator-container').locator('.vertical-indicator-group').first() 327 | .locator('.vertical-indicator-group') 328 | .first(); > 329 | await expect(indicator).toBeVisible(); | ^ 330 | 331 | const { box } = await getDatabaseHeaderColumn(page, 2); 332 | const indicatorBox = await getBoundingBox(indicator); at Object.beforeMouseUp (/home/runner/work/blocksuite/blocksuite/tests/database/database.spec.ts:329:33) at dragBetweenCoords (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/drag.ts:27:3) at /home/runner/work/blocksuite/blocksuite/tests/database/database.spec.ts:317:3
database/database.spec.ts:303:1 › should support drag and drop to move columns: tests/utils/actions/misc.ts#L331
2) database/database.spec.ts:303:1 › should support drag and drop to move columns ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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: columnIndex 1" at utils/actions/misc.ts:331 329 | expect 330 | .soft('Unexpected console message: ' + message.text()) > 331 | .toBe( | ^ 332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 333 | ); 334 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
database/database.spec.ts:303:1 › should support drag and drop to move columns: tests/utils/actions/misc.ts#L331
2) database/database.spec.ts:303:1 › should support drag and drop to move columns ──────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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: height 37 342 305" at utils/actions/misc.ts:331 329 | expect 330 | .soft('Unexpected console message: ' + message.text()) > 331 | .toBe( | ^ 332 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 333 | ); 334 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:331:10)
Build & Test
Process completed 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 (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 (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 (16)
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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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 (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
🎭 Playwright Run Summary
1 skipped 47 passed (48.3s)
🎭 Playwright Run Summary
47 passed (54.3s)
🎭 Playwright Run Summary
1 flaky slash-menu.spec.ts:376:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys 3 skipped 43 passed (47.3s)
🎭 Playwright Run Summary
1 skipped 46 passed (46.9s)
🎭 Playwright Run Summary
1 skipped 46 passed (56.6s)
🎭 Playwright Run Summary
1 flaky hotkey/multiline.spec.ts:100:1 › should cut work multiple line ───────────────────────────────── 46 passed (59.1s)
🎭 Playwright Run Summary
1 flaky selection/native.spec.ts:265:1 › cursor move to up and down with children block ──────────────── 46 passed (57.2s)
🎭 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
1 flaky edgeless/shortcut.spec.ts:119:1 › should not switch shapes in editing ────────────────────────── 2 skipped 44 passed (1.2m)
🎭 Playwright Run Summary
2 failed database/column.spec.ts:82:3 › column operations › should support right insert column ────────── database/column.spec.ts:98:3 › column operations › should support left insert column ─────────── 4 skipped 42 passed (1.1m)
🎭 Playwright Run Summary
10 skipped 37 passed (1.3m)
🎭 Playwright Run Summary
1 skipped 46 passed (1.1m)
🎭 Playwright Run Summary
6 skipped 41 passed (1.4m)
🎭 Playwright Run Summary
47 passed (1.3m)
🎭 Playwright Run Summary
47 passed (1.1m)
🎭 Playwright Run Summary
1 flaky attachment.spec.ts:636:1 › cancel file picker with input element resolves ────────────────────── 2 skipped 45 passed (59.9s)
🎭 Playwright Run Summary
3 failed database/database.spec.ts:240:1 › should support drag to change column width ─────────────────── database/database.spec.ts:303:1 › should support drag and drop to move columns ───────────────── database/selection.spec.ts:241:3 › cell-level selection › should support multi cell selection ── 44 passed (1.4m)
🎭 Playwright Run Summary
47 passed (1.7m)
🎭 Playwright Run Summary
1 skipped 46 passed (1.6m)
🎭 Playwright Run Summary
1 skipped 46 passed (1.6m)

Artifacts

Produced during runtime
Name Size
test-results-e2e-3
5.92 MB
test-results-e2e-4
10.7 MB