chore: bump up all non-major dependencies #24009
build-test.yml
on: pull_request
Optimize CI
6s
Matrix: build-native
Matrix: Analyze
Matrix: Legacy Blocksuite E2E Test
Matrix: E2E Mobile Test
Matrix: E2E Test
Matrix: Unit Test
Matrix: Server Copilot E2E Test
Matrix: server-e2e-test
Matrix: desktop-test
3, 2, 1 Launch
0s
Annotations
19 errors, 22 warnings, and 24 notices
[Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it:
tests/affine-mobile/e2e/explorer-folder.spec.ts#L19
1) [Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it ────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: "rename-input"
Received: null
17 | const isRenameInputFocused = async (page: Page) => {
18 | const focusElTestid = await getAttrOfActiveElement(page);
> 19 | expect(focusElTestid).toEqual('rename-input');
| ^
20 | };
21 |
22 | const createRootFolder = async (page: Page, name: string) => {
at isRenameInputFocused (/home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:19:25)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-mobile/e2e/explorer-folder.spec.ts:69:3
|
attachment.spec.ts:244:1 › should attachment can be deleted:
blocksuite/tests-legacy/attachment.spec.ts#L71
1) attachment.spec.ts:244:1 › should attachment can be deleted ───────────────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
69 | await expect(slashMenu).toBeVisible();
70 |
> 71 | const fileChooser = page.waitForEvent('filechooser');
| ^
72 | await pressEnter(page);
73 | await sleep(100);
74 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:71:30)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:250:3
|
attachment.spec.ts:377:1 › indent attachment block to paragraph:
blocksuite/tests-legacy/attachment.spec.ts#L71
2) attachment.spec.ts:377:1 › indent attachment block to paragraph ───────────────────────────────
TimeoutError: page.waitForEvent: Timeout 5000ms exceeded while waiting for event "filechooser"
=========================== logs ===========================
waiting for event "filechooser"
============================================================
69 | await expect(slashMenu).toBeVisible();
70 |
> 71 | const fileChooser = page.waitForEvent('filechooser');
| ^
72 | await pressEnter(page);
73 | await sleep(100);
74 | await (await fileChooser).setFiles(FILE_PATH);
at insertAttachment (/home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:71:30)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/attachment.spec.ts:384:3
|
clipboard/list.spec.ts:134:1 › paste a nested list to a nested list:
blocksuite/tests-legacy/utils/asserts.ts#L207
3) clipboard/list.spec.ts:134:1 › paste a nested list to a nested list ───────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
"aaa",
- "aaa",
+ "bbbaaa",
"bbb",
- "cccbbb",
+ "ccc",
"ccc",
]
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/AFFiNE/AFFiNE/blocksuite/tests-legacy/utils/asserts.ts:207:23)
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/clipboard/list.spec.ts:166:3
|
slash-menu.spec.ts:365:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow:
blocksuite/tests-legacy/slash-menu.spec.ts#L388
1) slash-menu.spec.ts:365: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)
9 × 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"
386 | await type(page, '/');
387 | await pressArrowDown(page, 4);
> 388 | await expect(slashItems.nth(4)).toHaveAttribute('hover', 'true');
| ^
389 | await expect(slashItems.nth(4).locator('.text')).toHaveText([
390 | 'Other Headings',
391 | ]);
at /home/runner/work/AFFiNE/AFFiNE/blocksuite/tests-legacy/slash-menu.spec.ts:388:37
|
Lint:
packages/frontend/core/src/components/page-list/list.tsx#L35
Type '[PrimitiveAtom<(ListProps<ListItem> & Partial<VirtualizedListProps<ListItem>>) | undefined> & WithInitialValue<...>, ListProps<...>][]' is not assignable to type 'Iterable<readonly [AnyWritableAtom, unknown]>'.
|
Lint:
packages/frontend/core/src/components/page-list/virtualized-list.tsx#L75
Type '[PrimitiveAtom<(ListProps<ListItem> & Partial<VirtualizedListProps<ListItem>>) | undefined> & WithInitialValue<...>, VirtualizedListProps<...>][]' is not assignable to type 'Iterable<readonly [AnyWritableAtom, unknown]>'.
|
Lint
Process completed with exit code 2.
|
local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar:
tests/affine-local/e2e/local-first-collections-items.spec.ts#L1
1) local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ────────────────
Test timeout of 50000ms exceeded.
|
local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar:
tests/affine-local/e2e/local-first-collections-items.spec.ts#L95
1) local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ────────────────
Error: locator.count: Test timeout of 50000ms exceeded.
93 | await expect(items).toHaveCount(0);
94 | await createAndPinCollection(page);
> 95 | expect(await items.count()).toBe(1);
| ^
96 | await clickSideBarAllPageButton(page);
97 | await createLocalWorkspace(
98 | {
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-collections-items.spec.ts:95:22
|
local-first-favorite-page.spec.ts:36:1 › Export to html:
tests/affine-local/e2e/local-first-favorite-page.spec.ts#L49
2) local-first-favorite-page.spec.ts:36:1 › Export to html, markdown and png ─────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByTestId('export-menu')
47 | {
48 | await clickPageMoreActions(page);
> 49 | await page.getByTestId('export-menu').click();
| ^
50 | const downloadPromise = page.waitForEvent('download');
51 | await page.getByTestId('export-to-html').click();
52 | await downloadPromise;
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/local-first-favorite-page.spec.ts:49:43
|
image-preview.spec.ts:35:1 › image go left and right:
tests/affine-local/e2e/image-preview.spec.ts#L57
1) image-preview.spec.ts:35:1 › image go left and right ──────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('doc-title .inline-editor').first()
- locator resolved to <div data-v-root="true" contenteditable="true" class=" inline-editor ">…</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
10 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
55 | {
56 | const title = getBlockSuiteEditorTitle(page);
> 57 | await title.click();
| ^
58 | await page.keyboard.press('Enter');
59 | await importImage(page, 'affine-preview.png');
60 | }
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/image-preview.spec.ts:57:17
|
links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode:
tests/affine-local/e2e/links.spec.ts#L316
2) links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for locator('affine-embed-linked-doc-block')
- locator resolved to <affine-embed-linked-doc-block contenteditable="false" data-block-id="Kk4oV4fGDE" data-drop-target-for-element="true">…</affine-embed-linked-doc-block>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 100ms
9 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <iframe src="about:blank" id="webpack-dev-server-client-overlay"></iframe> intercepts pointer events
- retrying click action
- waiting 500ms
314 |
315 | await expect(cardLink).toBeVisible();
> 316 | await cardLink.click();
| ^
317 |
318 | // refocus
319 | await cardLink.click();
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/links.spec.ts:316:18
|
blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel:
tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L1
1) blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel
Test timeout of 50000ms exceeded.
|
blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel:
tests/kit/src/utils/keyboard.ts#L31
1) blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel
Error: keyboard.press: Test timeout of 50000ms exceeded.
at ../../kit/src/utils/keyboard.ts:31
29 | // avoid flaky test by simulate real user input
30 | for (let i = 0; i < count; i++) {
> 31 | await page.keyboard.press('Enter', { delay: 50 });
| ^
32 | }
33 | }
34 |
at pressEnter (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/keyboard.ts:31:25)
at createHeadings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/utils.ts:26:5)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:268:22
|
blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel:
tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L1
2) blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel
Test timeout of 50000ms exceeded.
|
blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel:
tests/kit/src/utils/keyboard.ts#L31
2) blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel
Error: keyboard.press: Test timeout of 50000ms exceeded.
at ../../kit/src/utils/keyboard.ts:31
29 | // avoid flaky test by simulate real user input
30 | for (let i = 0; i < count; i++) {
> 31 | await page.keyboard.press('Enter', { delay: 50 });
| ^
32 | }
33 | }
34 |
at pressEnter (/home/runner/work/AFFiNE/AFFiNE/tests/kit/src/utils/keyboard.ts:31:25)
at createHeadings (/home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/utils.ts:26:5)
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:289:5
|
blocksuite/outline/outline-panel.spec.ts:455:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time:
tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts#L475
3) blocksuite/outline/outline-panel.spec.ts:455:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('affine-paragraph').locator('[data-v-text="true"]').nth(3)
Expected string: "1"
Received string: ""
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('affine-paragraph').locator('[data-v-text="true"]').nth(3)
9 × locator resolved to <span data-v-text="true">…</span>
- unexpected value ""
473 | await expect(paragraphs.nth(1)).toContainText('3');
474 | await expect(paragraphs.nth(2)).toContainText('0');
> 475 | await expect(paragraphs.nth(3)).toContainText('1');
| ^
476 | });
477 | });
478 |
at /home/runner/work/AFFiNE/AFFiNE/tests/affine-local/e2e/blocksuite/outline/outline-panel.spec.ts:475:37
|
3, 2, 1 Launch
Process completed with exit code 1.
|
Slow Test:
tests/affine-mobile/[Mobile Chrome] › detail.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › detail.spec.ts took 43.4s
|
Slow Test:
tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › explorer-favorite.spec.ts took 40.7s
|
Slow Test:
tests/affine-mobile/[Mobile Chrome] › explorer-tag.spec.ts#L1
tests/affine-mobile/[Mobile Chrome] › explorer-tag.spec.ts took 44.3s
|
Slow Test:
tests/affine-mobile/[Mobile Safari] › home.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › home.spec.ts took 44.2s
|
Slow Test:
tests/affine-mobile/[Mobile Safari] › explorer-tag.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › explorer-tag.spec.ts took 1.2m
|
Slow Test:
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts#L1
tests/affine-mobile/[Mobile Safari] › back-button-visibility.spec.ts took 47.1s
|
Slow Test:
tests/affine-desktop-cloud/basic.spec.ts#L1
tests/affine-desktop-cloud/basic.spec.ts took 41.8s
|
Slow Test:
tests/affine-local/drag-page.spec.ts#L1
tests/affine-local/drag-page.spec.ts took 41.4s
|
Slow Test:
tests/affine-local/duplicate-page.spec.ts#L1
tests/affine-local/duplicate-page.spec.ts took 41.3s
|
test-build-mobile-app / ios
swiftformat 0.55.4 is already installed and up-to-date.
To reinstall 0.55.4, run:
brew reinstall swiftformat
|
Slow Test:
tests/affine-cloud/workspace.spec.ts#L1
tests/affine-cloud/workspace.spec.ts took 41.5s
|
Slow Test:
tests/affine-cloud/storage.spec.ts#L1
tests/affine-cloud/storage.spec.ts took 38.2s
|
Slow Test:
tests/affine-cloud/template.spec.ts#L1
tests/affine-cloud/template.spec.ts took 16.4s
|
Analyze (javascript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
|
Analyze (javascript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Slow Test:
tests/affine-cloud/collaboration.spec.ts#L1
tests/affine-cloud/collaboration.spec.ts took 1.4m
|
Slow Test:
tests/affine-cloud/login.spec.ts#L1
tests/affine-cloud/login.spec.ts took 1.1m
|
Analyze (typescript)
1 issue was detected with this workflow: CodeQL language 'javascript' is referenced by more than one entry in the 'language' matrix parameter for job 'analyze'. This may result in duplicate alerts. Please edit the 'language' matrix parameter to keep only one of the following: 'javascript', 'typescript'.
|
Analyze (typescript)
Unable to validate code scanning workflow: DuplicateLanguageInMatrix
|
Slow Test:
tests/affine-cloud/share-page.spec.ts#L1
tests/affine-cloud/share-page.spec.ts took 3.2m
|
Slow Test:
tests/affine-cloud/open-in-app.spec.ts#L1
tests/affine-cloud/open-in-app.spec.ts took 43.8s
|
Slow Test:
tests/affine-cloud/page-history.spec.ts#L1
tests/affine-cloud/page-history.spec.ts took 43.1s
|
🎭 Playwright Run Summary
7 passed (1.2m)
|
🎭 Playwright Run Summary
7 passed (1.1m)
|
🎭 Playwright Run Summary
7 passed (1.3m)
|
🎭 Playwright Run Summary
1 flaky
[Mobile Safari] › explorer-folder.spec.ts:62:1 › create a folder and rename it ─────────────────
6 passed (1.5m)
|
🎭 Playwright Run Summary
3 flaky
attachment.spec.ts:244:1 › should attachment can be deleted ────────────────────────────────────
attachment.spec.ts:377:1 › indent attachment block to paragraph ────────────────────────────────
clipboard/list.spec.ts:134:1 › paste a nested list to a nested list ────────────────────────────
2 skipped
92 passed (1.4m)
|
🎭 Playwright Run Summary
8 passed (1.7m)
|
🎭 Playwright Run Summary
1 flaky
slash-menu.spec.ts:365:3 › slash menu should show and hide correctly › should open and close menu when using left right arrow, Enter, Esc keys
3 skipped
92 passed (1.4m)
|
🎭 Playwright Run Summary
96 passed (1.4m)
|
🎭 Playwright Run Summary
2 skipped
95 passed (1.5m)
|
🎭 Playwright Run Summary
1 skipped
96 passed (1.6m)
|
🎭 Playwright Run Summary
4 skipped
93 passed (1.5m)
|
🎭 Playwright Run Summary
6 skipped
91 passed (2.3m)
|
🎭 Playwright Run Summary
4 skipped
93 passed (2.4m)
|
🎭 Playwright Run Summary
12 skipped
85 passed (2.3m)
|
🎭 Playwright Run Summary
1 skipped
47 passed (4.0m)
|
🎭 Playwright Run Summary
1 skipped
96 passed (2.9m)
|
🎭 Playwright Run Summary
1 skipped
48 passed (4.5m)
|
🎭 Playwright Run Summary
2 flaky
local-first-collections-items.spec.ts:67:1 › Show collections items in sidebar ─────────────────
local-first-favorite-page.spec.ts:36:1 › Export to html, markdown and png ──────────────────────
3 skipped
43 passed (4.6m)
|
🎭 Playwright Run Summary
1 passed (1.1m)
|
🎭 Playwright Run Summary
2 flaky
image-preview.spec.ts:35:1 › image go left and right ───────────────────────────────────────────
links.spec.ts:279:1 › allow switching to embed view when linking to the other document with mode
46 passed (4.8m)
|
🎭 Playwright Run Summary
3 flaky
blocksuite/outline/outline-panel.spec.ts:265:3 › TOC and editor scroll › should scroll to heading and highlight heading when click item in outline panel
blocksuite/outline/outline-panel.spec.ts:284:3 › TOC and editor scroll › should scroll to title when click title in outline panel
blocksuite/outline/outline-panel.spec.ts:455:3 › drag and drop note in outline panel › multiple selected note cards can be dragged and dropped at same time
45 passed (5.2m)
|
🎭 Playwright Run Summary
4 passed (2.0m)
|
🎭 Playwright Run Summary
2 skipped
6 passed (3.0m)
|
🎭 Playwright Run Summary
11 passed (5.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
affine.darwin-arm64.node
|
1.92 MB |
|
affine.darwin-x64.node
|
2.04 MB |
|
affine.linux-x64-gnu.node
|
2.07 MB |
|
affine.win32-x64-msvc.node
|
2.44 MB |
|
android
|
61.3 MB |
|
ios
|
61.3 MB |
|
server-native.node
|
4.33 MB |
|
web
|
62.9 MB |
|