Skip to content

feat(database): support query expression #278

feat(database): support query expression

feat(database): support query expression #278

Triggered via pull request May 30, 2024 04:40
Status Failure
Total duration 8m 16s
Artifacts

test.yml

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

Annotations

69 errors, 13 warnings, and 10 notices
Unit test: packages/blocks/src/_common/code-line-editor/code-line.ts#L118
Type '{ text: string; offsetStart: number; offsetEnd: number; }[]' is not assignable to type 'Complete[]'.
Unit test: packages/blocks/src/_common/code-line-editor/code-line.ts#L123
Type '{ text: string; offsetStart: number; offsetEnd: number; }[]' is not assignable to type 'Complete[]'.
Unit test: packages/blocks/src/_common/code-line-editor/widget/presets/complete.ts#L104
Type '(selection: CodeLineSelection, name: string, node: SyntaxNode) => Complete[]' is not assignable to type '(selection: CodeLinePositionSelection, name: string, node: SyntaxNode) => Complete[]'.
Unit test: packages/blocks/src/_common/code-line-editor/widget/presets/complete.ts#L119
Operator '<' cannot be applied to types 'number' and '{ row: number; column: number; }'.
Unit test: packages/blocks/src/_common/code-line-editor/widget/presets/complete.ts#L120
Operator '>' cannot be applied to types 'number' and '{ row: number; column: number; }'.
Unit test: packages/blocks/src/_common/code-line-editor/widget/presets/complete.ts#L136
Argument of type 'CodeLineSelection' is not assignable to parameter of type 'CodeLinePositionSelection'.
Unit test
Process completed with exit code 2.
Playground E2E test (3)
The hosted runner encountered an error while running your job. (Error Type: Failure).
attachment.spec.ts:118:1 › can insert attachment from slash menu: tests/attachment.spec.ts#L1
1) attachment.spec.ts:118:1 › can insert attachment from slash menu ────────────────────────────── Test timeout of 40000ms exceeded.
attachment.spec.ts:118:1 › can insert attachment from slash menu: tests/utils/actions/misc.ts#L280
1) attachment.spec.ts:118:1 › can insert attachment from slash menu ────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-85027263&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:119:9
attachment.spec.ts:168:1 › should undo/redo works for attachment: tests/attachment.spec.ts#L1
2) attachment.spec.ts:168:1 › should undo/redo works for attachment ────────────────────────────── Test timeout of 40000ms exceeded.
attachment.spec.ts:168:1 › should undo/redo works for attachment: tests/utils/actions/misc.ts#L280
2) attachment.spec.ts:168:1 › should undo/redo works for attachment ────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-44062084&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:169:9
attachment.spec.ts:275:1 › should rename attachment works: tests/attachment.spec.ts#L1
3) attachment.spec.ts:275:1 › should rename attachment works ───────────────────────────────────── Test timeout of 40000ms exceeded.
attachment.spec.ts:275:1 › should rename attachment works: tests/utils/actions/misc.ts#L280
3) attachment.spec.ts:275:1 › should rename attachment works ───────────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-93176944&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/attachment.spec.ts:280:9
bookmark.spec.ts:153:1 › covert bookmark block to link text: tests/utils/actions/misc.ts#L290
4) bookmark.spec.ts:153:1 › covert bookmark block to link text ─────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "Please remove the \"console.log\" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment." Received: "Unexpected console message: Failed to parse query! Current range is not a text node. Range" at utils/actions/misc.ts:290 288 | expect 289 | .soft('Unexpected console message: ' + message.text()) > 290 | .toBe( | ^ 291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 292 | ); 293 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
bookmark.spec.ts:503:3 › embed card toolbar › show toolbar when bookmark selected: tests/utils/actions/misc.ts#L290
5) bookmark.spec.ts:503:3 › embed card toolbar › show toolbar when bookmark selected ───────────── 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 clean text! Text mismatch expected: /link but actual: links" at utils/actions/misc.ts:290 288 | expect 289 | .soft('Unexpected console message: ' + message.text()) > 290 | .toBe( | ^ 291 | 'Please remove the "console.log" or declare `expectConsoleMessage` before `enterPlaygroundRoom`. It is advised not to output logs in a production environment.' 292 | ); 293 | } at Page.<anonymous> (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:290:10)
bookmark.spec.ts:503:3 › embed card toolbar › show toolbar when bookmark selected: tests/bookmark.spec.ts#L497
5) bookmark.spec.ts:503:3 › embed card toolbar › show toolbar when bookmark selected ───────────── TimeoutError: locator.click: Timeout 5000ms exceeded. Call log: - waiting for locator('affine-bookmark') 495 | await createBookmarkBlockBySlashMenu(page); 496 | const bookmark = page.locator('affine-bookmark'); > 497 | await bookmark.click(); | ^ 498 | await page.waitForTimeout(100); 499 | const { embedCardToolbar } = getEmbedCardToolbar(page); 500 | await expect(embedCardToolbar).toBeVisible(); at showEmbedCardToolbar (/home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:497:20) at /home/runner/work/blocksuite/blocksuite/tests/bookmark.spec.ts:504:5
clipboard.spec.ts:1054:1 › paste note block with background: tests/clipboard.spec.ts#L1
1) clipboard.spec.ts:1054:1 › paste note block with background ─────────────────────────────────── Test timeout of 40000ms exceeded.
clipboard.spec.ts:1054:1 › paste note block with background: tests/utils/actions/misc.ts#L280
1) clipboard.spec.ts:1054:1 › paste note block with background ─────────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-67619325&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1055:9
clipboard.spec.ts:1078:1 › copy and paste to selection block selection: tests/clipboard.spec.ts#L1
2) clipboard.spec.ts:1078:1 › copy and paste to selection block selection ──────────────────────── Test timeout of 40000ms exceeded.
clipboard.spec.ts:1078:1 › copy and paste to selection block selection: tests/utils/actions/misc.ts#L280
2) clipboard.spec.ts:1078:1 › copy and paste to selection block selection ──────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-63096551&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1083:9
clipboard.spec.ts:1096:1 › should keep paragraph block's type when pasting at the start of empty paragraph block except type text: tests/clipboard.spec.ts#L1
3) clipboard.spec.ts:1096:1 › should keep paragraph block's type when pasting at the start of empty paragraph block except type text Test timeout of 40000ms exceeded.
clipboard.spec.ts:1096:1 › should keep paragraph block's type when pasting at the start of empty paragraph block except type text: tests/utils/actions/misc.ts#L280
3) clipboard.spec.ts:1096:1 › should keep paragraph block's type when pasting at the start of empty paragraph block except type text Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-97147226&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/clipboard.spec.ts:1103:11
selection/native.spec.ts:617:1 › select text leaving a few words in the last line and delete: tests/selection/native.spec.ts#L1
1) selection/native.spec.ts:617:1 › select text leaving a few words in the last line and delete ── Test timeout of 40000ms exceeded.
selection/native.spec.ts:617:1 › select text leaving a few words in the last line and delete: tests/utils/actions/misc.ts#L280
1) selection/native.spec.ts:617:1 › select text leaving a few words in the last line and delete ── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-42940054&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:620:9
selection/native.spec.ts:635:1 › select text leaving a few words in the last line and delete by forwardDelete: tests/selection/native.spec.ts#L1
2) selection/native.spec.ts:635:1 › select text leaving a few words in the last line and delete by forwardDelete Test timeout of 40000ms exceeded.
selection/native.spec.ts:635:1 › select text leaving a few words in the last line and delete by forwardDelete: tests/utils/actions/misc.ts#L280
2) selection/native.spec.ts:635:1 › select text leaving a few words in the last line and delete by forwardDelete Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-65284179&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:638:9
selection/native.spec.ts:653:1 › select text in the same line with dragging leftward and move outside the affine-note: tests/selection/native.spec.ts#L1
3) selection/native.spec.ts:653:1 › select text in the same line with dragging leftward and move outside the affine-note Test timeout of 40000ms exceeded.
selection/native.spec.ts:653:1 › select text in the same line with dragging leftward and move outside the affine-note: tests/utils/actions/misc.ts#L280
3) selection/native.spec.ts:653:1 › select text in the same line with dragging leftward and move outside the affine-note Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-93195942&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/selection/native.spec.ts:656:9
link.spec.ts:304:1 › should keyboard work in link popover: tests/link.spec.ts#L1
1) link.spec.ts:304:1 › should keyboard work in link popover ───────────────────────────────────── Test timeout of 40000ms exceeded.
link.spec.ts:304:1 › should keyboard work in link popover: tests/utils/actions/misc.ts#L280
1) link.spec.ts:304:1 › should keyboard work in link popover ───────────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-59760894&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:305:9
link.spec.ts:337:1 › link bar should not be appear when the range is collapsed: tests/link.spec.ts#L1
2) link.spec.ts:337:1 › link bar should not be appear when the range is collapsed ──────────────── Test timeout of 40000ms exceeded.
link.spec.ts:337:1 › link bar should not be appear when the range is collapsed: tests/utils/actions/misc.ts#L280
2) link.spec.ts:337:1 › link bar should not be appear when the range is collapsed ──────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-44313659&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:340:9
link.spec.ts:373:1 › create link with paste: tests/link.spec.ts#L1
3) link.spec.ts:373:1 › create link with paste ─────────────────────────────────────────────────── Test timeout of 40000ms exceeded.
link.spec.ts:373:1 › create link with paste: tests/utils/actions/misc.ts#L280
3) link.spec.ts:373:1 › create link with paste ─────────────────────────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-35650349&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:374:9
link.spec.ts:419:1 › convert link to card: tests/link.spec.ts#L434
4) link.spec.ts:419:1 › convert link to card ───────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.affine-link-popover') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.affine-link-popover') 432 | await waitNextFrame(page); 433 | const linkPopoverLocator = page.locator('.affine-link-popover'); > 434 | await expect(linkPopoverLocator).toBeVisible(); | ^ 435 | const linkPopoverInput = page.locator('.affine-link-popover-input'); 436 | await expect(linkPopoverInput).toBeVisible(); 437 | await type(page, link); at /home/runner/work/blocksuite/blocksuite/tests/link.spec.ts:434:36
paragraph.spec.ts:1056:1 › delete at start of paragraph block: tests/paragraph.spec.ts#L1
1) paragraph.spec.ts:1056:1 › delete at start of paragraph block ───────────────────────────────── Test timeout of 40000ms exceeded.
paragraph.spec.ts:1056:1 › delete at start of paragraph block: tests/utils/actions/misc.ts#L280
1) paragraph.spec.ts:1056:1 › delete at start of paragraph block ───────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-41209391&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1057:9
paragraph.spec.ts:1082:1 › delete at start of paragraph immediately following list: tests/paragraph.spec.ts#L1
2) paragraph.spec.ts:1082:1 › delete at start of paragraph immediately following list ──────────── Test timeout of 40000ms exceeded.
paragraph.spec.ts:1082:1 › delete at start of paragraph immediately following list: tests/utils/actions/misc.ts#L280
2) paragraph.spec.ts:1082:1 › delete at start of paragraph immediately following list ──────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-36506191&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1085:9
paragraph.spec.ts:1082:1 › delete at start of paragraph immediately following list: tests/utils/asserts.ts#L444
2) paragraph.spec.ts:1082:1 › delete at start of paragraph immediately following list ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 1 Array [ "2", - "3", + "4", ] at utils/asserts.ts:444 442 | { blockId } 443 | ); > 444 | expect(actual).toEqual(ids); | ^ 445 | } 446 | 447 | export async function assertBlockChildrenFlavours( at assertBlockChildrenIds (/home/runner/work/blocksuite/blocksuite/tests/utils/asserts.ts:444:18) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1115:3
paragraph.spec.ts:1150:1 › delete at start of paragraph with content: tests/paragraph.spec.ts#L1
3) paragraph.spec.ts:1150:1 › delete at start of paragraph with content ────────────────────────── Test timeout of 40000ms exceeded.
paragraph.spec.ts:1150:1 › delete at start of paragraph with content: tests/utils/actions/misc.ts#L280
3) paragraph.spec.ts:1150:1 › delete at start of paragraph with content ────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-87181153&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/paragraph.spec.ts:1151:9
format-bar.spec.ts:822:1 › should format quick bar be able to copy: tests/format-bar.spec.ts#L1
1) format-bar.spec.ts:822:1 › should format quick bar be able to copy ──────────────────────────── Test timeout of 40000ms exceeded.
format-bar.spec.ts:822:1 › should format quick bar be able to copy: tests/utils/actions/misc.ts#L280
1) format-bar.spec.ts:822:1 › should format quick bar be able to copy ──────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-15690679&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:823:9
format-bar.spec.ts:842:1 › should format quick bar show when double click text: tests/format-bar.spec.ts#L1
2) format-bar.spec.ts:842:1 › should format quick bar show when double click text ──────────────── Test timeout of 40000ms exceeded.
format-bar.spec.ts:842:1 › should format quick bar show when double click text: tests/utils/actions/misc.ts#L280
2) format-bar.spec.ts:842:1 › should format quick bar show when double click text ──────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-65248128&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:845:9
format-bar.spec.ts:857:1 › should format quick bar not show at readonly mode: tests/format-bar.spec.ts#L1
3) format-bar.spec.ts:857:1 › should format quick bar not show at readonly mode ────────────────── Test timeout of 40000ms exceeded.
format-bar.spec.ts:857:1 › should format quick bar not show at readonly mode: tests/utils/actions/misc.ts#L280
3) format-bar.spec.ts:857:1 › should format quick bar not show at readonly mode ────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-60486586&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/format-bar.spec.ts:858:9
edgeless/group.spec.ts:493:5 › group › group title › enter unmount group editor: tests/edgeless/group.spec.ts#L455
1) edgeless/group.spec.ts:493:5 › group › group title › enter unmount group editor ─────────────── Test timeout of 40000ms exceeded while running "beforeEach" hook. 453 | 454 | test.describe('group title', () => { > 455 | test.beforeEach(async ({ page }) => { | ^ 456 | await init(page); 457 | await selectAllByKeyboard(page); 458 | await triggerComponentToolbarAction(page, 'addGroup'); at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:455:10
edgeless/group.spec.ts:493:5 › group › group title › enter unmount group editor: tests/utils/actions/misc.ts#L280
1) edgeless/group.spec.ts:493:5 › group › group title › enter unmount group editor ─────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-03798673&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at edgelessCommonSetup (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1402:9) at init (/home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:46:11) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:456:13
edgeless/group.spec.ts:506:5 › group › clipboard › copy and paste group: tests/edgeless/group.spec.ts#L1
2) edgeless/group.spec.ts:506:5 › group › clipboard › copy and paste group ─────────────────────── Test timeout of 40000ms exceeded.
edgeless/group.spec.ts:506:5 › group › clipboard › copy and paste group: tests/utils/actions/misc.ts#L280
2) edgeless/group.spec.ts:506:5 › group › clipboard › copy and paste group ─────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-24778463&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at edgelessCommonSetup (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1402:9) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:507:13
edgeless/group.spec.ts:531:5 › group › clipboard › copy and paste group with connector: tests/edgeless/group.spec.ts#L1
3) edgeless/group.spec.ts:531:5 › group › clipboard › copy and paste group with connector ──────── Test timeout of 40000ms exceeded.
edgeless/group.spec.ts:531:5 › group › clipboard › copy and paste group with connector: tests/utils/actions/misc.ts#L280
3) edgeless/group.spec.ts:531:5 › group › clipboard › copy and paste group with connector ──────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-41006617&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at edgelessCommonSetup (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/edgeless.ts:1402:9) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/group.spec.ts:532:13
edgeless/selection.spec.ts:35:1 › should update rect of selection when resizing viewport: tests/edgeless/selection.spec.ts#L1
1) edgeless/selection.spec.ts:35:1 › should update rect of selection when resizing viewport ────── Test timeout of 40000ms exceeded.
edgeless/selection.spec.ts:35:1 › should update rect of selection when resizing viewport: tests/utils/actions/misc.ts#L280
1) edgeless/selection.spec.ts:35:1 › should update rect of selection when resizing viewport ────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-82065755&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection.spec.ts:38:9
edgeless/selection.spec.ts:83:3 › translation should constrain to cur axis when dragged with shift key › constrain-x: tests/edgeless/selection.spec.ts#L1
2) edgeless/selection.spec.ts:83:3 › translation should constrain to cur axis when dragged with shift key › constrain-x Test timeout of 40000ms exceeded.
edgeless/selection.spec.ts:83:3 › translation should constrain to cur axis when dragged with shift key › constrain-x: tests/utils/actions/misc.ts#L280
2) edgeless/selection.spec.ts:83:3 › translation should constrain to cur axis when dragged with shift key › constrain-x Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-67729346&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection.spec.ts:84:11
edgeless/selection.spec.ts:105:3 › translation should constrain to cur axis when dragged with shift key › constrain-y: tests/edgeless/selection.spec.ts#L1
3) edgeless/selection.spec.ts:105:3 › translation should constrain to cur axis when dragged with shift key › constrain-y Test timeout of 40000ms exceeded.
edgeless/selection.spec.ts:105:3 › translation should constrain to cur axis when dragged with shift key › constrain-y: tests/utils/actions/misc.ts#L280
3) edgeless/selection.spec.ts:105:3 › translation should constrain to cur axis when dragged with shift key › constrain-y Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-63928239&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/selection.spec.ts:106:11
edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush: tests/edgeless/brush.spec.ts#L1
1) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ────────── Test timeout of 40000ms exceeded.
edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush: tests/utils/actions/misc.ts#L280
1) edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-26944430&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:97:9
edgeless/brush.spec.ts:119:1 › add brush element with different size: tests/edgeless/brush.spec.ts#L1
2) edgeless/brush.spec.ts:119:1 › add brush element with different size ────────────────────────── Test timeout of 40000ms exceeded.
edgeless/brush.spec.ts:119:1 › add brush element with different size: tests/utils/actions/misc.ts#L280
2) edgeless/brush.spec.ts:119:1 › add brush element with different size ────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-74558587&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:120:9
edgeless/brush.spec.ts:151:1 › change brush element size by component-toolbar: tests/edgeless/brush.spec.ts#L1
3) edgeless/brush.spec.ts:151:1 › change brush element size by component-toolbar ───────────────── Test timeout of 40000ms exceeded.
edgeless/brush.spec.ts:151:1 › change brush element size by component-toolbar: tests/utils/actions/misc.ts#L280
3) edgeless/brush.spec.ts:151:1 › change brush element size by component-toolbar ───────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:5173/starter/?room=playwright-86435409&blobSource=idb", waiting until "load" at utils/actions/misc.ts:280 278 | url.searchParams.set('room', room); 279 | url.searchParams.set('blobSource', blobSource?.join(',') || 'idb'); > 280 | await page.goto(url.toString()); | ^ 281 | // const readyPromise = waitForPageReady(page); 282 | 283 | // See https://github.com/microsoft/playwright/issues/5546 at enterPlaygroundRoom (/home/runner/work/blocksuite/blocksuite/tests/utils/actions/misc.ts:280:14) at /home/runner/work/blocksuite/blocksuite/tests/edgeless/brush.spec.ts:152:9
Unit test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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: actions/setup-node@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: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Node.js Environment Compatibility
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
Playground E2E test (1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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: 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: 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: 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: 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: 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: 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: 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: 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
14 passed (20.4s)
🎭 Playwright Run Summary
5 flaky attachment.spec.ts:118:1 › can insert attachment from slash menu ─────────────────────────────── attachment.spec.ts:168:1 › should undo/redo works for attachment ─────────────────────────────── attachment.spec.ts:275:1 › should rename attachment works ────────────────────────────────────── bookmark.spec.ts:153:1 › covert bookmark block to link text ──────────────────────────────────── bookmark.spec.ts:503:3 › embed card toolbar › show toolbar when bookmark selected ────────────── 17 skipped 52 passed (4.5m)
🎭 Playwright Run Summary
3 flaky clipboard.spec.ts:1054:1 › paste note block with background ──────────────────────────────────── clipboard.spec.ts:1078:1 › copy and paste to selection block selection ───────────────────────── clipboard.spec.ts:1096:1 › should keep paragraph block's type when pasting at the start of empty paragraph block except type text 6 skipped 65 passed (4.8m)
🎭 Playwright Run Summary
3 flaky selection/native.spec.ts:617:1 › select text leaving a few words in the last line and delete ─── selection/native.spec.ts:635:1 › select text leaving a few words in the last line and delete by forwardDelete selection/native.spec.ts:653:1 › select text in the same line with dragging leftward and move outside the affine-note 2 skipped 68 passed (4.9m)
🎭 Playwright Run Summary
4 flaky link.spec.ts:304:1 › should keyboard work in link popover ────────────────────────────────────── link.spec.ts:337:1 › link bar should not be appear when the range is collapsed ───────────────── link.spec.ts:373:1 › create link with paste ──────────────────────────────────────────────────── link.spec.ts:419:1 › convert link to card ────────────────────────────────────────────────────── 3 skipped 66 passed (5.0m)
🎭 Playwright Run Summary
3 flaky paragraph.spec.ts:1056:1 › delete at start of paragraph block ────────────────────────────────── paragraph.spec.ts:1082:1 › delete at start of paragraph immediately following list ───────────── paragraph.spec.ts:1150:1 › delete at start of paragraph with content ─────────────────────────── 1 skipped 69 passed (5.1m)
🎭 Playwright Run Summary
3 flaky format-bar.spec.ts:822:1 › should format quick bar be able to copy ───────────────────────────── format-bar.spec.ts:842:1 › should format quick bar show when double click text ───────────────── format-bar.spec.ts:857:1 › should format quick bar not show at readonly mode ─────────────────── 1 skipped 69 passed (5.1m)
🎭 Playwright Run Summary
3 flaky edgeless/group.spec.ts:493:5 › group › group title › enter unmount group editor ──────────────── edgeless/group.spec.ts:506:5 › group › clipboard › copy and paste group ──────────────────────── edgeless/group.spec.ts:531:5 › group › clipboard › copy and paste group with connector ───────── 8 skipped 62 passed (5.4m)
🎭 Playwright Run Summary
3 flaky edgeless/selection.spec.ts:35:1 › should update rect of selection when resizing viewport ─────── edgeless/selection.spec.ts:83:3 › translation should constrain to cur axis when dragged with shift key › constrain-x edgeless/selection.spec.ts:105:3 › translation should constrain to cur axis when dragged with shift key › constrain-y 3 skipped 67 passed (5.6m)
🎭 Playwright Run Summary
3 flaky edgeless/brush.spec.ts:94:1 › keep same color when mouse mode switched back to brush ─────────── edgeless/brush.spec.ts:119:1 › add brush element with different size ─────────────────────────── edgeless/brush.spec.ts:151:1 › change brush element size by component-toolbar ────────────────── 2 skipped 69 passed (6.5m)